📄 index.html
字号:
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-download/page1.htm">网页制作</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<font color="#000000"><a href="../../1-download/page2.htm">程序设计</a></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<font color="#000000"><a href="../../1-download/page3.htm">网站设计</a></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<font color="#000000"><a href="../../1-download/page4.htm">电子商务</a></font>
</td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#666699"><a href="../../1-teach/index.htm"><font color="#FFFFFF">实用技巧</font></a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/internet/index.htm">Internet应用</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/photoshop/index.html">Photoshop</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/flash/page1.html">Flash</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/asp/index.html">ASP</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/php/index.html">PHP</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/java/index.htm">Java</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/vb/index.htm">VB</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/c/index.htm">C、C++</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-backend/database/php_mysql/index.html">PHP/MySQL</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2"><a href="../../1-backend/cgi_perl/perl_beginner/index.html">-Perl</a>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">-<a href="../../1-teach/other/index.htm">其它</a> </td>
</tr>
<tr>
<td colspan="2" bgcolor="#666699">
<div align="center"><font color="#FFFFFF">更多教程</font></div>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" height="17"><a href="../../1hdml/index.html">-HDML</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" height="23"><font face="宋体"><a href="../../1-backend/database/course/day1_1.html">-网络数据库</a></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" height="14"><a href="../../1-backend/protocols/ping/index.html"><font face="arial, helvetica, sans-serif">-ping</font></a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" height="20"><a href="../../1-backend/cgi_perl/search_engine/index.html">-创建搜索引擎</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" height="16">-<a href="../../1adobe/GoLive/index.html">Adobe GoLive</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2"><a href="../../1-backend/cgi_perl/templates/index.html">-模板</a></td>
</tr>
<tr bgcolor="#666699">
<td colspan="2" align="center"><font color="#FFFFFF">合作伙伴</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" align="left">-<a href="http://www.5dmedia.com/" target="_blank">5D精英网</a></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td colspan="2"> <img src="../../Library/front_monkey.gif" width="59" height="68"></td>
</tr>
</tbody>
</table>
<!-- #EndLibraryItem --> </td>
<!-- End of headlines (column 1: left column) --> <!-- Gutter between columns 1 and 2 -->
<td width="10" height="794"><img src="http://www.sohu.com/images/pixel.gif" width=10></td>
<!-- Search box and directories (columns 2 and 3: middle columns, combined into one) -->
<td align=center valign=top width="558">
<div align="left"><!-- #BeginEditable "1" -->
<table border="0" cellpadding="3" width="550" celspacing="0">
<!-- AUTHOR IMAGE --> <!-- BUFFER -->
<tr>
<td rowspan="2" width="12"><font face="宋体"><img
src="http://static.wired.com/webmonkey/images/spacer.gif" width="10" height="1"></font></td>
<!-- HEADLINE -->
<td width="466"><font color="#FF3300" size="4" face="宋体"><br>
</font><b><font color="#ff3300" face="宋体" size="5">用Java 1.1的RMI编</font><font
size="5"><font color="#ff3300">写闲聊系统</font></font></b><font face="宋体"><br>
<!-- BYLINE --> 作者<font size="2" color="#000000"><a href="mailto:moses@wired.com"
title="Send
mail to Moses">Moses</a></font> </font></td>
</tr>
<!-- SEE ALSO LINKS -->
<tr> <!-- BODY COPY --> <!-- BUFFER -->
<td valign="top" rowspan="2" width="466" bgcolor="#FFFFFF"><font
size="3"><i><font face="宋体">J</font></i><font face="宋体">ava 1.1</font>中新加了一项特色,叫做<font
face="宋体">RMI</font>(远程方法调用)。要利用<br>
这项技术,<font face="宋体"> </font>你必须让用户安装<font face="宋体">Sun</font>公司的<font
face="宋体">JDK 1.1</font>(<font face="宋体">Java</font>开发工<br>
具)中的<font face="宋体">appletviewer (Java</font>小程序浏览器)。接下来,用户只需<br>
运行一个单另的程序就可以开始网上闲聊了。<i><font face="宋体"> </font> </i>
<p>由于这种程序主要面向开发人员,所以这里我们没有准备演示。你<br>
需要下载<font face="宋体">JDK 1.1</font>并编译闲聊服务器,然后自己尝试使用。<font
face="宋体"> </font></p>
<p><font face="宋体">- Brian </font></p>
<p>技术进步给我最深的印象在于:技术进步的目的就是为了让应用程<br>
序运行起来更快。<font face="宋体">Java 1.1</font>比<font face="宋体">Java
1.0</font>增加乐一些新的特色,这些<br>
特色使得编写一个闲聊服务器只需不到<font face="宋体">3</font>个小时的时间。我的老板<br>
因此对我相当满意。</p>
<p>赋予我如此大的收益的根源是<font face="宋体">Java 1.1</font>的<font
face="宋体">RMI, </font>即远程方法调用<br>
(<font face="宋体">Remote Method Invocation</font>)。这是一种调用远程计算机上的方<br>
法(或函数、或子程序)的途径。有了这项特色,你在编写闲聊服<br>
务器的时候就无需为了接口、及编制控制数据通过接口传输的协议<br>
而煞费苦心,无需担心数据传输碰到防火墙和代理服务器的非礼。<font
face="宋体"> <br>
RMI</font>使你能象调用本地计算机上的方法那样调用远程计算机上的方<br>
法。<font face="宋体">RMI</font>会代替你处理同远程计算机的连接(它使用基于接口的通<br>
讯方式,如果代理服务器不支持这种方式,则它采用<font face="宋体">HTTP</font>方式<font
face="宋体">)</font>。<font face="宋体"> <br>
RMI</font>帮你处理发送数据的协议。它使用<a
href="http://www.javasoft.com/products/jdk/1.1/docs/guide/serialization/">对象序列化</a><font
face="宋体">, </font>这是<font face="宋体">Java 1.1</font><br>
又一项新特色<font face="宋体">)</font>。<font face="宋体">RMI</font>可以帮你做一切。你只需编制程序,而不用理<br>
会你的程序将在一个什么样的网络中使用。<font face="宋体"> </font></p>
<p>接下来我将详细介绍<font face="宋体">RMI</font>和该闲聊系统如果运作,并提高闲聊系统<br>
的编码。有关<font face="宋体">RMI</font>的快速教程,你可以参考<font
face="宋体"><a
href="http://java.sun.com/products/jdk/1.1/docs/guide/rmi/getstart.doc.html">Getting
Started Using <br>
RMI</a></font>。你需要首先具备一定的<font face="宋体">Java</font>知识。<font
face="宋体"> <br>
</font>
<p>
<p><font size="3">第<font face="宋体">1</font>页:<a href="index.html">用<font
face="宋体">Java 1.1</font>的<font face="宋体">RMI</font>编写闲聊系统</a><font
face="宋体"></font></font><font
face="宋体"><br>
</font>第<font face="宋体">2</font>页:<a href="index2a_chatpage2.htm">服务器</a><font
face="宋体"><br>
</font>第<font face="宋体">3</font>页:<a href="index2a_chatpage3.htm">客户</a><font
face="宋体"><br>
</font>
</font></td>
</tr>
</table>
<!-- #EndEditable --></div>
</td>
<!-- End of search box and directories (columns 2 and 3: middle columns, combined into one) -->
<!-- Gutter between columns 3 and 4 --> <!-- Other stuff (column 4: right column) -->
<!-- End of other stuff (column 4: right column) --> </tr>
</table>
<!-- End of table surrounding page contents -->
<hr noshade size=1 width=700>
<span class=eng><br>
Copyright (C) 1998-2000 Internet Technologies China. All rights reserved.
</span>
</center>
</body>
<!-- #EndTemplate --></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -