📄 index.html
字号:
<option value="http://www.ibm.com/jp/developerworks">Japan
</option>
</select></font>
</form><td>
<td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr></tr>-->
<tr bgcolor="#ffcc66">
<td width="8" height="8"><img src="/developerWorks/i/c.gif" width="8" height="8" alt="" /></td>
<td width="8" height="8"> <img src="/developerWorks/i/c.gif" width="3" height="8" alt="" /></td>
<td width="131" height="8"><img src="/developerWorks/i/c.gif" width="131" height="9" alt="" /></td>
<td width="3" height="8"><img src="/developerWorks/i/c.gif" width="3" height="8" alt="" /></td></tr>
</table>
<!-- RELATED SITES -->
<table width="150" cellspacing="0" cellpadding="0" border="0">
<tr valign="top" bgcolor="#cc6633">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="3" alt="" /></td>
<td width="134" height="1"> <img src="/developerWorks/i/c.gif" width="134" height="3" alt=""></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="3" alt="" /></td></tr>
<tr valign="top" bgcolor="#cc6633">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="3" alt=""></td>
<td width="134" height="18" bgcolor="#cc6633" class="c-text"><font color="#ffffff"><b>IBM 相关站点</b></font></td>
<td width="8" height="18" bgcolor="#cc6633"><img src="/developerWorks/i/c.gif" width="8" height="1" alt=""></td></tr>
<tr valign="top" bgcolor="#000000">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="134" height="1"> <img src="/developerWorks/i/c.gif" width="134" height="1" alt=""></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td></tr>
</table>
<table width="150" cellspacing="0" cellpadding="0" border="0">
<tr bgcolor="#ffcc66">
<td width="8" class="c-text"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="8"> <img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td>
<td width="131" class="c-text"> <a href="/cgi-bin/click.p?url=http://www.ibm.com/cn/software/developer"
target="_top""><font color="#000000">IBM 开发者园地</font></a><br>
<font face="Arial, sans-serif" size="-3"
color="#000000">(开发人员所需产品信息)</font></td>
<td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="8" height="3" alt="" /></td>
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td>
<td width="134" height="3"><img src="/developerWorks/i/c.gif" width="131" height="3" alt="" /></td>
<td width="3" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td></tr>
<tr bgcolor="#ffcc66"><td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td>
<td width="131" class="c-text"><a href="/cgi-bin/click.p?url=http://www.alphaworks.ibm.com">
<font color="#000000">alphaWorks (代码) </font></a></td><td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="8" height="3" alt="" /></td>
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td><td width="131" height="3"><img src="/developerWorks/i/c.gif" width="131" height="3" alt="" /></td>
<td width="3" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td>
<td width="131" class="c-text"><a href="/cgi-bin/click.p?url=http://www.developer.ibm.com">
<font face="Arial, sans-serif" size="-1" color="#000000">合作伙伴计划</font></a></td><td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="8" height="3" alt="" /></td>
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td>
<td width="131" height="3"><img src="/developerWorks/i/c.gif" width="131" height="3" alt="" /></td>
<td width="3" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td>
<td width="131" class="c-text"><font color="#000000">开发者园地</font></td><td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="8" height="3" alt="" /></td>
<td width="8" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td>
<td width="131" height="3"><img src="/developerWorks/i/c.gif" width="131" height="3" alt="" /></td>
<td width="3" height="3"><img src="/developerWorks/i/c.gif" width="3" height="3" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td>
<td width="131" class="c-text"><img src="/developerWorks/i/b-square.gif" width="8" height="4" vspace="4" align="left" alt=""/><a href="/cgi-bin/click.p?url=http://www7.software.ibm.com:8080/wsdd/">
<font color="#000000">WebSphere</font></a></td>
<td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td>
<td width="131" class="c-text"><img src="/developerWorks/i/b-square.gif" width="8" height="4" vspace="4" align="left" alt=""/><a href="/cgi-bin/click.p?url=http://www7.software.ibm.com/vad.nsf/">
<font color="#000000">VisualAge</font></a></td><td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" alt="" /></td>
<td width="8"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td>
<td width="131" class="c-text"><img src="/developerWorks/i/b-square.gif" width="8" height="4" vspace="4" align="left" alt=""/><a href="/cgi-bin/click.p?url=http://www.lotus.com/home.nsf/welcome/developernetwork">
<font face="Arial, sans-serif" size="-1" color="#000000">Lotus</font></a></td>
<td width="3"><img src="/developerWorks/i/c.gif" width="3" height="1" alt="" /></td></tr>
<tr bgcolor="#ffcc66">
<td width="8" height="8"><img src="/developerWorks/i/c.gif" width="8" height="8" alt="" /></td>
<td width="8" height="8"><img src="/developerWorks/i/c.gif" width="3" height="8" alt="" /></td>
<td width="131" height="100"><img src="/developerWorks/i/c.gif" width="131" height="9" alt="" /></td>
<td width="3" height="8"><img src="/developerWorks/i/c.gif" width="3" height="8" alt="" /></td>
</table>
<!-- END LEFT NAV -->
</td>
<!-- CONTENT AREA BEGINS -->
<td width="100%" valign="top">
<!-- BANNER -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td bgcolor="#ffffff" height="1"><img src="/developerWorks/i/c.gif" width="450" height="1" alt="" border="0"/></td></tr>
<tr><td bgcolor="#cc6633" height="3"><img src="/developerWorks/i/c.gif" width="450" height="1" alt="" border="0"/></td></tr>
<tr><td bgcolor="#333333" height="1"><img src="/developerWorks/i/c.gif" width="450" height="1" alt="" border="0"/></td></tr>
<tr><td bgcolor="#000000" height="1"><img src="/developerWorks/i/c.gif" width="450" height="1" alt="" border="0"/></td></tr>
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="5" alt="" border="0"/></td></tr>
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="5" alt="" border="0"/></td></tr>
</table>
<!-- CONTENT AREA GOES HERE -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="8"><img src="/developerWorks/i/c.gif" width="8" height="1" border="0" alt=""/></td>
<td width="100%">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="5" alt="" border="0"/></td></tr>
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="5" alt="" border="0"/></td></tr>
<tr><td align="left" valign="top"><a href="/developerWorks/index.html">developerWorks 中国站点</a>:<a
href="../../../java/">Java 技术</a>: <a href="../">教学- 在线课程</a> -
构建 Java 聊天服务器</td></tr>
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="15" alt="" border="0"/></td></tr>
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="15" alt="" border="0"/></td></tr>
<tr><td align="left" valign="top"><img src="/developerWorks/i/arrowdown.gif" alt="" /> 在线课程
<!--<img src="/developerWorks/i/small_right_arrow.gif"><a href="classroom.html">培训教室</a>-->
</td></tr>
</table>
<!-- COURSES CONTENT BEGINNING -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td WIDTH="8" valign="top"> </TD>
<td WIDTH="100%">
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="5" alt="" border="0"/></td></tr>
<tr valign="top"><td colspan="2" width="100%"><img src="/developerWorks/i/c.gif" width="5" height="5" alt="" border="0"/></td></tr>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<FONT FACE="HELVETICA,HELV,ARIAL" SIZE="+1"> <BR>
<B>构建 Java 聊天服务器</B></FONT><BR>
<FONT FACE="Helvetica, Helv, Arial" SIZE="-1">
<P>Greg Travis
<BR>
自由程序员
<BR>
2000 年 1 月
<P>在这篇免费的 dW 专有的独家教程中,我们将构建一个简单聊天系统的服务器和客户机方。您将在这个过程中学到创建这样一个服务器时可以用到的基本框架,该框架使用在很多情况下都能很好工作的传统技术。我们还将讨论框架的一些限制,并找到克服这些限制的方法。
<P>
<P><B>预备知识</B>
<P>
本教程适用于具备很少或不具备网络编程经验的人。我们将详细讨论如联网和多线程等主题,以便即使您具备很少或不具备这种编程经验也能理解示例。然而,您需要熟悉 Java 语言中基本的面向对象编程。
<P><B>系统需求</B>
<P>浏览器:Netscape 4.x 或更高版本, 或者 Internet Explorer 4.x 或更高版本,支持 JavaScript 。
<p>
<p><b>教程</b>
<p>进入<a href="tutorial/">构建 Java 聊天服务器</a>教程。
<p>
<b>相关教程</b><p>
<a href="/developerWorks/education/java/jsp/index.html">"JSP 技术入门"</a>
<p>
<a href="/developerWorks/education/java/servlet/index.html">"创建 Java HTTP Servlet"</a>,<i>developerWorks</i> Jeanne Murray 著。
<p>
<a href="/developerWorks/education/java/j-servlets2/index.html">"创建带会话跟踪的 Servlet"</a>,<i>developerWorks</i> Jeanne Murray 著。
</td></tr></table>
<!-- COURSES CONTENT ENDING -->
</td></tr></table>
<!-- CONTENT ENDING -->
</td>
<!--FOOTER-->
<tr><td width="150">
<table width="150" cellpadding="0" cellspacing="0" border="0">
<tr bgcolor="#000000">
<td align="center" width="49" ><a href="http://www.ibm.com/privacy/" class="nav" style="color: #ffffff;"><font face="Arial, sans-serif" size="-2" color="#ffffff">隐私</font></a></td>
<td bgcolor="#959595" width="1"><img src="/developerWorks/i/c.gif" width="1" height="21" alt=""/></td>
<td align="center" width="49"><a href="http://www.ibm.com/legal/" class="nav" style="color: #ffffff;"><font face="Arial, sans-serif" size="-2" color="#ffffff">法律</font></a></td>
<td bgcolor="#959595" width="1"><img src="/developerWorks/i/c.gif" width="1" height="1" alt=""/></td>
<td align="center" width="49"><a href="http://www.cn.ibm.com/Main.nsf/HTMLS/aboutibm&contactus" class="nav" style="color: #ffffff;"><font face="Arial, sans-serif" size="-2" color="#ffffff">联系</font></a></td>
<td bgcolor="#959595" width="1"><img src="/developerWorks/i/c.gif" width="1" height="1" alt=""/></td></tr>
</table></td>
<td colspan="2" bgcolor="#000000"> </td>
</tr></table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -