<?xml version="1.0" encoding="gb2312"?>

<!-- RSS generated by oioj.net on 4/16/2004 ; 感谢LeXRus提供 RSS 2.0 文档; 此文件可自由使用，但请保留此行信息 --> 
<!-- Source download URL: http://blogger.org.cn/blog/rss2.asp       -->
<rss version="2.0">

<channel>
<title>行百里者半九十</title>
<link>http://blogger.org.cn/blog/blog.asp?name=tao83915</link>
<description>行百里者半九十的博客</description>
<copyright>blogger.org.cn</copyright>
<generator>W3CHINA Blog</generator>
<webMaster>webmaster@blogger.org.cn</webMaster>
<item>
<title><![CDATA[远程桌面无响应的解决办法]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=53286</link>
<author>tao83915</author>
<pubDate>2012/2/1 16:07:21</pubDate>
<description><![CDATA[<P><FONT size=4 face="Courier New">&nbsp; 年假总是让人觉得很短，可是当你不得不重启公司电脑的时候，你肯定会觉得年假似乎太长了，公司的电脑谁能帮我RESTART一下啊？！其实大家都在共年，没人帮你，相帮也帮不上啊！</FONT></P>
<P><FONT size=4 face="Courier New">&nbsp; 一次又一次遭遇这样的尴尬：开始的时候远程桌面是可以连接上的，操作也很正常，但是过了几天没有重启，发现在操作远程桌面的时候总是很慢，想重启它一下，那重启吧！可是，发现远程的机器并没有重启，而是卡在某一个地方了，死活关不掉，也起不来！等吧，第二天依旧如此，第三天，第四天……</FONT></P>
<P><FONT size=4 face="Courier New">&nbsp; 相信很多人都有这样的尴尬，去Google搜了好多解决方法，意义试之，都无效而终。忽然想起我远程机器上安装了SSH Server（或者使TELNET SERVICE敞开也可以），于是尝试连接，居然成功了！然后很自信的敲下“shutdown /r /t 1”，让它一秒钟给我重启！然后开始ping，期望Timeout，再期望Response。可是5分钟过去了，依然没有timeout。第二次敲下“shutdown /r /t 1”，结果说“shutdown in process”。如是，我等。如是，么有结果！</FONT></P>
<P><FONT size=4 face="Courier New">&nbsp; 实在么有办法了，只好求助于命令行。就想，Windows应该有类似于UNIX的PS和KILL程序，果然，MICROSOFT还是挺靠谱的，有两个程序和上面的PS，KILL很类似，分别是TASKLIST和TASKKILL（关于这两个命令行程序怎么使用，自己HELP吧，不赘述了）！然后，开始查PROCESS ID，杀PROCESS，一番折腾之后，结果及其不但没有重启，反而在杀掉某些进程滞后，TASKLIST居然不工作了，急死人啊！幸亏当时我把第一次TASKLIST的输出保存下来了。看来还需要更加牛叉的进程清除工具啊！</FONT></P>
<P><FONT size=4 face="Courier New">&nbsp; 要不怎么说MICROSOFT靠谱呢，人家确实有一个工具，据说很牛叉，叫做“ntsd”命令。这个命令，出去不能干掉system（PID=4），因为依赖于system，据说，别的都可以干掉！之前不知道听那位大侠说干掉winlogon可以导致系统重启或者蓝屏，我想，我这虚拟机（公司提供的CLOUD VM），应该不会蓝屏吧，试之“ntsd -c q -p WINLOGON_PID”，然后开始ping，期望Timeout，再期望Response。果然，ping通了！重启成功了！</FONT></P>
<P><FONT size=4 face="Courier New"><STRONG>总结一下，其实就这么几个步骤：<BR>1：保证你的机器上开放了TELNET或者SSH，这个是前提；<BR>2：使用TASKKILL找出WINLOGON对应的进程号；<BR>3：使用NTSD干掉该进程，当然，可以skip第二步，直接使用NTSD干掉winlogon.exe；<BR>4：重启后就可以mstsc继续了！</STRONG></FONT></P>]]></description>
</item><item>
<title><![CDATA[梁部长名言语录]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=50335</link>
<author>tao83915</author>
<pubDate>2010/10/26 21:45:36</pubDate>
<description><![CDATA[<p><font size="4" face="宋体">1、2005年美国太平洋舰队司令在中美军事交流中谈到，如果大陆攻打台湾，美军将全力保卫台湾，并骄傲地说，在太平洋美国海军还没有对手。 
梁光烈听后，冷冷地说道："如果事情一旦发生，我们唯有全力以对，我想在第一岛链内，解放军可以消灭任何对手。2、3只航母舰队，还是不需要多少导弹的！"这位太平洋舰队司令听后，面色大变，在接下来的会谈中，再也不提台海问题。 
</font></p>
<p>&nbsp;</p>
<p><font size="4" face="宋体">2、日本通过周边有事法案时候，有日本记者问"陈独有日本最快支援！大陆会谨慎行动，怎么看？ 
梁光烈回答："台独问题，晚打不如早打，小打不如大打，打台独一个，不如拉日本一起打。" </font></p>
<p>&nbsp;</p>
<p><font size="4" face="宋体">3、在梁光烈刚当选国防部长时，就有台湾记者问"大陆对台作战，是否担心美日支援？" 
梁光烈回答："给我3天足够拿下台湾全岛，我们并不担心美日是否支援，是美日担心我们是否拉它们一起打！" </font></p>
<p>&nbsp;</p>
<p><font size="4" face="宋体">4、国防部长兼攻台总指挥梁光烈在两会上,接受记者采访时谈到日本周边有事法案。 
梁光烈表示："解放军有能力在美军干涉下三天内完全控制住台湾,日本不要为台独份子或民进党提供任何物质和言语支持,中国人民解放军有能跨越台湾海峡,也有能力跨越朝鲜海峡." 
</font></p>
<p>&nbsp;</p>
<p><font size="4" face="宋体">5、梁光烈出任大陆国防部长的消息传开后，台湾整个报社都陷于一种悲观情绪，大家一致的论调是若陈水扁总统再顿释放调动性言语，梁光烈肯定会带兵打过来。</font></p>
<p>&nbsp;</p>
<p><font size="4" face="宋体">6、2008年3月20日台湾选举前，许多人对台湾记者的第一个问题就是："梁光烈到底会不会打过来"？即使民进party副总统候选人苏贞昌，在被选民咨询时，谈梁也面色大变。更有选民问谢长延："大陆网站上说梁光烈誓言三天内拿下台湾，如果我们投你的票，将来遭遇共军报复怎么办？"谢长延听及，只有说有美军协防，国民应该对守住台湾有信心。3月31日晚，传来消息说"梁光烈已抵达福建前指，并得到授权击沉美国航母！"消息传开，全岛再次陷入悲观绝望之中。</font></p>]]></description>
</item><item>
<title><![CDATA[甲流与普通流感流的区别]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=47485</link>
<author>tao83915</author>
<pubDate>2009/11/10 21:38:43</pubDate>
<description><![CDATA[甲流: 3-6小时內会急速发高烧(37.8度以上)，且会急速的全身性肌肉酸痛
一般: 逐渐发烧及全身性肌肉酸痛;

甲流: 约80%以上会有严重的头痛 
一般: 轻微的头痛;

甲流: 无流鼻涕但有咳嗽及喉咙痛 
一般: 流鼻涕及咳嗽;

甲流: 几乎沒有打喷嚏(较不常見)
一般: 打喷嚏;

甲流: 37.8度以上的高烧会持续3-4天
一般: 偶会发高烧;

甲流: 严重的全身性肌肉酸痛、关节疼痛 
一般: 轻微的全身性肌肉酸痛、关节疼痛;

甲流: 大多数的人会有发烧恶寒 
一般: 偶会有恶寒;

甲流: 持续会有严重的疲劳感与虛弱
一般: 轻微的疲劳感;

甲流: 扁桃腺不会肿
一般: 扁桃腺会肿;

甲流: 会有严重的胸部压迫感 
一般: 无胸部压迫感.]]></description>
</item><item>
<title><![CDATA[Jprofiler启动Eclipse3.4以测试自己的plugin]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=47453</link>
<author>tao83915</author>
<pubDate>2009/11/8 1:00:13</pubDate>
<description><![CDATA[
<DIV style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 5px; BACKGROUND: rgb(243,243,243); PADDING-BOTTOM: 5px; MARGIN: 5px 20px; BORDER-LEFT: rgb(204,204,204) 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><FONT size=4><A style="FONT-FAMILY: Courier New">　如大家所知,JProfiler是一个著名的用于java系统监控分析的软件，功能很强大，可以监控普通的 java application, applet, java web start, application server 等等。除了可以监控本地的程序，还可以对远程服务器上跑的应用进行监控.网上有很多关于监控各种类型应用的配置方式.本文主要讲解的是如何配置Jprofiler以监控Eclipse中自己所写的plugins的内存使用情况.<BR><BR>&nbsp; 在网上看到了很多关于Eclipse和Jprofiler集成的配置方式,但是没有发现Jprofiler启动Eclipse以测试plugin的文章,经过摸索以及参考网上的资源,终于找到了解决办法,启动Eclipse3.4,下面将配置Session的方式分享出来.<BR><BR>&nbsp; 启动你的Jprofiler,它可以从http://www.ej-technologies.com/index.html上获取到试用的版本.安装并启动后,选择"Session-New Session"在弹出的窗口"Session Settings"中需要将Session的配置做好,"Session Name"中输入你对这个session的命名;"Java VM"中选择你的JVM的位置,此处JVM的版本应该支持Eclipse;"Working Directory"应该选择Eclipse安装的位置;"VM Arguements"是启动Eclipse时eclipse.ini文件中Eclipse启动时</A></FONT><A style="FONT-FAMILY: Courier New"><FONT size=4></FONT></A><FONT size=4><A style="FONT-FAMILY: Courier New">对</A></FONT><FONT size=4><A style="FONT-FAMILY: Courier New">JVM的配置的参数;最重要的一个参数"Main class or executable JAR",这个是启动Eclipse的Java类,在Eclipse3.4下,这个JAR是位于plugins下的"org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar";"Arguments"这个比较简单,就是启动参数了,eclipse.ini文件中的多数参数都是要填写到此处的.下面的图片文件是我的Session配置截图:</A></FONT></DIV>
<DIV style="BORDER-RIGHT: rgb(204,204,204) 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: rgb(204,204,204) 1px solid; PADDING-LEFT: 5px; BACKGROUND: rgb(243,243,243); PADDING-BOTTOM: 5px; MARGIN: 5px 20px; BORDER-LEFT: rgb(204,204,204) 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: rgb(204,204,204) 1px solid; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><FONT size=4><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000" src="http://blogger.org.cn/blog/uploadfile/20091181418612.GIF" border=0><BR><BR>&nbsp; 然后启动这个Session,你会看到Eclipse启动了,Jprofiler已经启动了,你会看到你的类,plugin所使用内存的情况.<BR><BR></DIV></FONT>]]></description>
</item><item>
<title><![CDATA[糟糕的生活]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=46435</link>
<author>tao83915</author>
<pubDate>2009/7/6 22:56:27</pubDate>
<description><![CDATA[<font size="4"><a style="font-family: Courier New;">&nbsp;　最近真的很倒霉,做什么事情都不顺!工作,没有什么成就;生活,到家还要和女朋友争吵.我当初想象的美好,似乎都泡影班消失了.唉,我的生活啊!<br><br>&nbsp; 非常羡慕那些能把生活过好的人!即使工作不顺利,到家至少不用争吵,不用争论那些没有任何意义的事情,不用争论道德所在.唉,我真的不是一个会过生活的人.理想中的美好是那么的诱人,让我不能自拔,现实的生活似乎总是不如意,不像当初的憧憬.为什么呢?从有苗头的那天开始,我在不断的问自己,为什么别人的生活是那么的美好,自己似乎永远也得不到这样的美好呢?我觉得自己并不比别人少努力过.为什么好的事情总也不是我的呢?<br><br>&nbsp; 有的时候真的想大哭一场,心中似乎总有说不出的委屈,却总也找不到哭的理由,有了理由,却没有哭的地方.唉,生活总是这样的愚弄你,让你总不能在正确的地点正确的时候做正确的事情.<br><br>&nbsp; 希望自己能处理好这些事情,希望自己能处理好自己的生活,希望自己能处理好自己的心情,如果你做不好,希望你能接受这样的现实,适度改变一下自己吧.<br><br></a></font><div style="text-align: right;"><span style="font-weight: bold; font-style: italic;">纪念今天为了谁的父母更好看而争吵到互不搭理!!!</span><br></div>]]></description>
</item><item>
<title><![CDATA[Linux和Windows下批量删除指定文件的方法]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=44113</link>
<author>tao83915</author>
<pubDate>2009/3/24 11:58:59</pubDate>
<description><![CDATA[<P><STRONG>需求:</STRONG>需要删除指定目录和所有子目录下的java编译后的class文件:</P>
<P><STRONG>Linux下的解决方法:</STRONG></P>
<P>&nbsp;&nbsp;<FONT color=#339966> # Linux Batch Delete<BR></FONT>&nbsp;&nbsp; <STRONG><FONT color=#0000ff>find</FONT></STRONG> /usr/WorkSpaces/TestJavaProj/<FONT color=#0000ff> <STRONG>-name</STRONG></FONT> <FONT color=#800000>*.class</FONT><FONT color=#0000ff> <STRONG>-exec rm -f {}</STRONG> <STRONG>\;</STRONG></FONT></P>
<P><STRONG>Windows下的解决方法:</STRONG></P>
<P><FONT color=#0000ff><FONT color=#339966>&nbsp;&nbsp;&nbsp; rem Windows Batch Delete<BR>&nbsp;&nbsp;&nbsp; </FONT><FONT color=#808000><STRONG>1:</STRONG></FONT><BR><FONT color=#339966>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><STRONG>DEL /Q /S</STRONG><FONT color=#000000> D:\WorkSpaces\TestJavaProj\</FONT><FONT color=#800000>*.class&nbsp;<BR></FONT><FONT color=#339966>&nbsp;&nbsp;&nbsp; </FONT><STRONG><FONT color=#808000>2:</FONT></STRONG><BR><FONT color=#339966>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><STRONG>FOR /R</STRONG> <FONT color=#000000>D:\WorkSpaces\TestJavaProj\ </FONT><FONT color=#333300>%v</FONT> <STRONG>IN ( </STRONG><FONT color=#800000>*.class </FONT><STRONG>) DO DEL</STRONG> </FONT><FONT color=#003300>%v</FONT></P>]]></description>
</item><item>
<title><![CDATA[沉淀]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=42459</link>
<author>tao83915</author>
<pubDate>2009/1/14 22:15:23</pubDate>
<description><![CDATA[
<DIV><FONT face=Verdana size=4>直到现在,这些缺点一直在我身上,没有彻底的改掉!</FONT></DIV>
<DIV><FONT face=Verdana size=4></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=4>&nbsp;&nbsp;&nbsp; 1:做事情虎头蛇尾.任何事情,开始做时,想把它做成最好,最成功的,可是一经遇到其他需要处理的,就会把原来要做的事情搁置,分心,没有当初的壮志雄心,没有做成功的意思了.我认为,这是我最大的缺点,我层想,一直想克服这个,为什么总克服不了?是不是我兼顾太多,没有做成那么多的能力!</FONT></DIV>
<DIV><FONT face=Verdana size=4></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=4>&nbsp;&nbsp;&nbsp; 2:学习不求甚解!这是仅次于上面的那个缺点!!因为这个,我没有学好Structs,Hibernate,Spring...没有学好一切应该学好的东西!这个是我个人态度的问题,学艺不精并不可怕,可怕的是不求上进,不求甚解!!希望你能改正,不要再次总结的时候仍将这个缺点列出,还要实事求是啊!!!</FONT></DIV>
<DIV><FONT face=Verdana size=4></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=4>&nbsp;&nbsp;&nbsp; 3:易随波逐流,做事情欠分析,易冲动!!我曾幻想做事情有少年的冲劲,有冷静的分析,有成熟的见解!似乎我只做到了冲动,没有做到应该做到的!</FONT></DIV>
<DIV><FONT face=Verdana size=4></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=4>事已至此,不必拘泥于缺点本身,应在工作生活中注重改正自己的缺点,做好应该做的!从现在手头的每件事情做起.需要做到</FONT></DIV>
<DIV><FONT face=Verdana size=4>&nbsp;&nbsp;&nbsp; 1:详细分析需要做的事情,明确需要实现的目标,给出大概的步骤,需要做的事情绝不耽搁!!</FONT></DIV>
<DIV><FONT face=Verdana size=4>&nbsp;&nbsp;&nbsp; 2:每次你想忽略一个"已经掌握"的技术时,请在耐心看看是不是这个技术和你掌握的完全一样,通常,想当然的学习,是你不求甚解的主要原因!</FONT></DIV>
<DIV><FONT face=Verdana size=4>&nbsp;&nbsp;&nbsp; 3:要怎么解决这个呢?你还是先分析你的行动会造成什么后果吧,不过不要抹杀自己的冲动!</FONT></DIV>
<DIV><FONT face=Verdana size=4></FONT>&nbsp;</DIV>
<DIV align=right><FONT face=Verdana>注:LST写于2009年1月14日 切记,切记!!</FONT></DIV><A></A>]]></description>
</item><item>
<title><![CDATA[WinXp任务栏消失的解决方法]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=42357</link>
<author>tao83915</author>
<pubDate>2009/1/10 10:23:04</pubDate>
<description><![CDATA[<P><FONT face="Courier New" color=#0000bb size=4>　首先，需要声明一下，写这篇日志时，之前没有搜索过相关问题，也没有参考别人的解决方法，至于如何发现能够解决标题所示的问题，纯属偶然！</FONT></P>
<P><FONT face="Courier New" color=#0000bb size=4>&nbsp; 言归正传，我们使用IE、播放器、PL SQL、卡巴、还有其他能引起任务栏消失的软件时，当我们关闭正在使用的软件，结果系统提示出错，任务栏随之消失，桌面图标一片空白，或许系统会自动打开一个“Windows资源管理器”，但是任务栏就是不出来！这个问题可以通过以下的方法来解决：</FONT></P>
<P><FONT face="Courier New" color=#0000bb size=4>&nbsp; 1：打开任务管理器（Ctrl+Alt+Del）；</FONT></P>
<P><FONT face="Courier New" color=#0000bb size=4>&nbsp; 2：在任务管理器的“文件”菜单中点击“新任务（运行）”菜单；</FONT></P>
<P><FONT face="Courier New" color=#0000bb size=4>&nbsp; 3：在弹出的“创建新任务”窗口中输入“C:\”，注意输入法的状态（英文，半角）；</FONT></P>
<P><FONT face="Courier New" color=#0000bb size=4>&nbsp; 4：回车，如果顺利，则会提示出错信息，说系统找不到资源之类的，不过同时任务栏也回来了，关闭该死的提示吧！</FONT></P>
<P><FONT face="Courier New" color=#0000bb size=4>&nbsp; 5：如果不顺利，任务栏还是出不来，那么回到任务管理器的“进程”选项卡下，找出来名称为“explorer”的进程，将其结束，然后重复2，3，4步骤！</FONT></P>
<P><FONT face="Courier New" color=#0000bb size=4>&nbsp;&nbsp; 以上方法，屡试不爽！</FONT></P>]]></description>
</item><item>
<title><![CDATA[Eclipse3.2下CVS访问速度慢的解决]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=41124</link>
<author>tao83915</author>
<pubDate>2008/11/12 19:19:01</pubDate>
<description><![CDATA[
<P><STRONG><FONT color=#333399 size=3>&nbsp;&nbsp;&nbsp; 我遇到的这个问题可能不具有什么共性！前几天，我在Eclipse3.2下把以前的项目从CVS服务器上签出的时候觉得非常慢，当时我是开着防火墙的，认为是防火墙和杀毒软件的实时杀毒功能导致的，就没有放在心上。但是后来同步的时候也有同样的问题，于是就把杀毒软件关掉了，重启计算机，又试，结果依旧！</FONT></STRONG></P>
<P><STRONG><FONT color=#333399 size=3>&nbsp;&nbsp;&nbsp; 后来我在防火墙看到每次同步的时候，Eclipse3.2使用WINDOWS\SYSTEM32\javaw.exe同步CVS，并没有使用我安装的JDK或JRE下的javaw。于是把Eclipse3.2关掉，用新版的Eclipse3.4试试，结果速度飞快！郁闷了，怎么版本不一样就这么大的差距呢？</FONT></STRONG></P>
<P><STRONG><FONT color=#333399 size=3>&nbsp;&nbsp;&nbsp; 后来发现，在XP下，我安装了两个JDK一个1.4，另外一个是JDK5，因为用Eclipse3.4必须至少JDK5。于是就试着把JDK5卸掉，重新安装了JDK1.4重启后，使用Eclipse3.2同步CVS，发现速度象在Eclipse3.4下一样了，难道是因为JDK5的原因么？后来再安装上JDK5，结果问题又重现了！似乎是JDK1.5导致的了（姑且这么说吧）。</FONT></STRONG></P>
<P><STRONG><FONT color=#333399 size=3>&nbsp;&nbsp;&nbsp; 总之，解决方法就是干掉JDK5，重新安装JDK1.4就可以了！碰到同样问题的兄弟可以一试！</FONT></STRONG></P>]]></description>
</item><item>
<title><![CDATA[求助！！关于数据汇总]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=40896</link>
<author>tao83915</author>
<pubDate>2008/10/29 21:05:19</pubDate>
<description><![CDATA[
<P><A><FONT color=#1717c7 size=4>　</FONT></A>今天做报表的时候，碰到从源数据表中按照不同的条件汇总数据，分别插入到不同的表中的问题（从同一个源表中取出，分别插入到汇总表A和B，当然条件不一样，但是插入到表B的条件，能够包括到表A的条件，但是表A不是表B的子集，因为取出的字段不同）。源表的数据量比较大，应该是千万级或更加高的级别。</P>
<P><A><FONT color=#1717c7 size=4>　</FONT></A>遇到的问题是：我需要两次检索源表么？还是只用满足B表的条件检索一次源表，将检索结果插入到临时表（有索引），然后从临时表中取出满足A表条件的，汇总后插入A表？哪一种方式会更快呢？本来今天我想在测试库上测试一下的，可是下班一着急就没有做！</P>
<P><A><FONT color=#1717c7 size=4>　</FONT></A>有人知道么？我实在是太缺乏这方面的经验了！请看过的朋友不吝赐教！先谢谢分享了！</P>]]></description>
</item><item>
<title><![CDATA[SH_YC_BJ]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=40846</link>
<author>tao83915</author>
<pubDate>2008/10/27 23:56:00</pubDate>
<description><![CDATA[
<TABLE style="WIDTH: 194px">
<TBODY>
<TR>
<TD style="BACKGROUND: url(http://picasaweb.google.com/f/img/transparent_album_background.gif) no-repeat left 50%; HEIGHT: 194px" align=middle><A href="http://picasaweb.google.com/idealivan/SH_YC_BJ?authkey=EGqVFJEO5DM#"><IMG style="MARGIN: 1px 0px 0px 4px" height=160 src="http://lh4.ggpht.com/idealivan/SQXdP9sY2vE/AAAAAAAAAPQ/DiD87UTBP-M/s160-c/SH_YC_BJ.jpg" width=160></A></TD></TR>
<TR>
<TD style="FONT-SIZE: 11px; FONT-FAMILY: arial,sans-serif; TEXT-ALIGN: center"><A style="FONT-WEIGHT: bold; COLOR: #4d4d4d; TEXT-DECORATION: none" href="http://picasaweb.google.com/idealivan/SH_YC_BJ?authkey=EGqVFJEO5DM#">SH_YC_BJ</A></TD></TR></TBODY></TABLE>]]></description>
</item><item>
<title><![CDATA[Oracle监听配置]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=40251</link>
<author>tao83915</author>
<pubDate>2008/9/23 22:29:16</pubDate>
<description><![CDATA[<P><FONT size=3>&nbsp;&nbsp;&nbsp; 其实用这个名字来做标题并不怎么合适，只是文中所述问题的最终原因落在了这个地方，才把这个作为了标题。</FONT></P>
<P><FONT size=3>&nbsp;&nbsp;&nbsp; 今天遇到的问题是有点奇怪的。下午在公司做系统的时候，需要连接到Oracle数据库，公司有Oracle测试服务器，但是里面的数据有点不符合要求，又不想影响别人，于是就把自己的Oracle启动起来，把Listener也启动了，在写配置信息的时候直接使用的 <FONT color=#800000>localhost:1521</FONT> 没有什么问题，系统开发完毕，我把它部署到测试服务器上，修改数据库连接信息为：<FONT color=#800000>我的IP:1521</FONT> 结果总是报连接不到的异常！郁闷，Oracle服务明显启动的啊，端口也是开的，因为我用：<FONT color=#800000>telnet localhost 1521</FONT> 可以打开的，用 <FONT color=#800000>telnet 我的IP&nbsp;1521</FONT> 却提示连不上！奇怪了，telnet localhost可以，telnet IP却不可以！！</FONT></P>
<P><FONT size=3>&nbsp;&nbsp;&nbsp; 以上就是问题的大概描述。开始认为是开防火墙的问题，于是把Windows的防火墙给关掉，不行，还是连不上，于是重启了，结果还是连不上。查了查资料，发现可能是监听器的原因：之前建立的LISTENER只监听了localhost，我的listener.ora如下：</FONT></P>
<P><FONT color=#3366ff>SID_LIST_LISTENER =<BR>&nbsp; (SID_LIST =<BR>&nbsp;&nbsp;&nbsp; (SID_DESC =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SID_NAME = PLSExtProc)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (PROGRAM = extproc)<BR>&nbsp;&nbsp;&nbsp; )<BR>&nbsp;&nbsp;&nbsp; (SID_DESC =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (GLOBAL_DBNAME = ORCL)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SID_NAME = ORCL)<BR>&nbsp;&nbsp;&nbsp; )<BR>&nbsp; )</FONT></P>
<P><FONT color=#3366ff>LISTENER =<BR>&nbsp; (DESCRIPTION_LIST =<BR>&nbsp;&nbsp;&nbsp; (DESCRIPTION =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))<BR>&nbsp;&nbsp;&nbsp; )<BR>&nbsp; )</FONT></P>
<P><FONT size=+0><BR><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp; 后来，加上了一个新的Listener，重启Listener服务后就可以连上了。新增加的Litener是通过IP地址监听的，不是localhost，如下：</FONT></FONT></P>
<P><FONT color=#3366ff>LISTENER_IP =<BR>&nbsp; (DESCRIPTION_LIST =<BR>&nbsp;&nbsp;&nbsp; (DESCRIPTION =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.7)(PORT = 1521))<BR>&nbsp;&nbsp;&nbsp; )<BR>&nbsp; )</FONT></P>
<P><FONT size=+0>&nbsp;&nbsp;&nbsp; <FONT size=3>后来一切都可以使用了，看来问题就是这个了。</FONT></FONT></P>]]></description>
</item><item>
<title><![CDATA[WebLogic RMI学习示例]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=40117</link>
<author>tao83915</author>
<pubDate>2008/9/19 21:02:55</pubDate>
<description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><A name=OLE_LINK1><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 22pt; FONT-FAMILY: 'Rockwell Condensed'; mso-fareast-font-family: Gungsuh">WebLogic RMI</SPAN></B></A><SPAN style="mso-bookmark: OLE_LINK1"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 隶书">学习示例<SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></SPAN></B></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></SPAN></P>
<H1 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; LINE-HEIGHT: normal; mso-list: l2 level1 lfo1; tab-stops: list 21.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><FONT face="Times New Roman"><SPAN lang=EN-US style="FONT-SIZE: 18pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 18pt">WebLogic</SPAN></FONT></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 18pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下使用</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 18pt"><FONT face="Times New Roman">RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 18pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编程的基本步骤：</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 18pt"><o:p></o:p></SPAN></SPAN></H1>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">步骤</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">1</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：编写远程接口；</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">步骤</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">2</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：实现远程接口；</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">步骤</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">3</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：编译</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> Java </FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">类；</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">步骤</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">4</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：使用</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> RMI </FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译器编译实现类；</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">步骤</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">5</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：编写调用远程方法的代码。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">以下用一个简单的例子来说明</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编程的详细过程。</SPAN></SPAN></P>
<H1 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; LINE-HEIGHT: normal; mso-list: l2 level1 lfo1; tab-stops: list 21.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><FONT face="Times New Roman"><SPAN lang=EN-US style="FONT-SIZE: 18pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 18pt">WebLogicRMI HelloWorld</SPAN></FONT></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 18pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">例子：</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 18pt"><o:p></o:p></SPAN></SPAN></H1>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">作者采用的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">JAVA</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发工具为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">eclipse 3.2</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">jdk</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">版本是</SPAN><FONT face="Times New Roman"><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:chsdate w:st="on" Year="1899" Month="12" Day="30" IsLunarDate="False" IsROCDate="False"><SPAN lang=EN-US>1.4.2</SPAN></st1:chsdate><SPAN lang=EN-US>_11</SPAN></FONT></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">weblogic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">版本是</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">8.1.5</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN></SPAN></P>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>1)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">建立服务</SPAN><SPAN lang=EN-US><FONT face=Arial>Project</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">和客户端</SPAN><SPAN lang=EN-US><FONT face=Arial>Project</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">：</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0; mso-para-margin-left: 2.0gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">eclipse</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下建立两个</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">java project</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，分别命名为“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RmiWlServer</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”和“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RmiWlClient</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”。两个</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">java project</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的目录结构通常是</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">src</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">bin</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，我们在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">src</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下建立自己的包和相关代码文件，</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">bin</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件夹是编译好的输出文件。</SPAN></SPAN></P>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>2)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">定义编写远程接口</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可被远程调用的类，都实现某个接口。这里所说的接口应该有服务提供方根据服务享受方的需求来编写，并且该接口需要符合下列准则：</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 27pt; TEXT-INDENT: 0cm; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">远程接口必须扩展接口</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">java.rmi.Remote</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（其中不包含任何方法签名）。在实现接口的每个远程类中包含将实现的方法签名。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 27pt; TEXT-INDENT: 0cm; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">远程接口必须是公共的。否则，客户端在尝试加载实现它的远程对象时将出现错误。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 27pt; TEXT-INDENT: 0cm; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">与</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Java RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">不同，没有必要让接口中的每个方法都在其</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">throws</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">块中声明</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">java.rmi.RemoteException</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。应用程序引发的异常可以特定于应用程序，并且可以扩展</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RuntimeException</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogicRMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">java.rmi.RemoteException</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">设置了子类，因此如果已存在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">类，将不必更改异常处理。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 27pt; TEXT-INDENT: 0cm; mso-list: l2 level2 lfo1; tab-stops: list 42.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">远程接口不会包含很多代码，所需要的只是要在远程类中实现的方法的方法签名。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在此，我们按照以上准则在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RmiWlServer Project</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中新建一个</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">package </FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，其名称为“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">net.vicp.fst.rmi.face.study</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”，并在该</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">package</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中新建一个名称为“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">HelloWorld</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”的接口，下面是该接口的详细代码：</SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; mso-para-margin-left: 2.57gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">This</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">File(HelloWorld.java)</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Was</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Created</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">By</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Ivan</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">On</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><st1:chsdate w:st="on" Year="2008" Month="9" Day="18" IsLunarDate="False" IsROCDate="False"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">2008</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f7f9f; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">-</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">9</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f7f9f; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">-</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">18</SPAN></SPAN></st1:chsdate><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">package</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> net.vicp.fst.rmi.face.study;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> java.rmi.Remote;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> java.rmi.RemoteException;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@author</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Ivan</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">用途：定义服务器端和客户端的交互接口</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">interface</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> <SPAN style="BACKGROUND: silver; mso-highlight: silver">HelloWorld</SPAN> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">extends</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> Remote{</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">从</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">RMI</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">提供者向调用者</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Say</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Hello</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@return</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">sth</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">said</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">to</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">invoker</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@throws</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">RemoteException</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> String sayHello() </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">throws</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> RemoteException;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; mso-para-margin-left: 2.57gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对于</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Java</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，每个实现远程接口的类必须有附带的、预先编译的代理。</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogicRMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">支持更灵活的运行时代码生成；</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogicRMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">支持动态代理和动态创建的字节代码（类型正确，但又独立于实现接口的类）。如果类实现单一的远程接口，则编译器生成的代理和字节代码将与远程接口具有相同的名称。如果类实现多个远程接口，则编译生成的代理和字节代码的名称将取决于编译器使用的名称重整。</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（摘抄，不好意思，忘记出处了！）</SPAN></SPAN></P>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>3)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">实现远程接口</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对于</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogicRMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，类不需要扩展</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">UnicastRemoteObject</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，而</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">JavaRMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">则要求扩展它。（可以扩展</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">UnicastRemoteObject</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，但这不是必需的。）这样便能够保持一个对您的应用程序有意义的类层次。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WeblogicServer</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中，</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Weblogic RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和标准</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">JAVA RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">均可使用。如果使用</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Weblogic RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，则必须将“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">javaweblogic.rmic...</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”作为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">rmic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译器使用，并且不得将</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">实现作为“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">java.rmi.server.UnicastRemoteObject</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”的子类创建。如果使用标准</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">JDKRMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，则必须将“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">%JAVA_HOME%\bin\rmic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”作为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">rmic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译器使用，并且必须将</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">实现类作为“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">java.rmi.server.UnicastRemoteObject</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”的子类创建。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">类可以实现多个远程接口，当然类也可以定义远程接口中不存在的方法，只是不能远程调用这些方法。下面给出本例中实现</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">HelloWorld</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的代码：新建一个</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">package</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，名称为“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">net.vicp.fst.rmi.server.study</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”，在该</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">package</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下新建类“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">HelloWorldImpl</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”，详细代码如下：</SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; mso-para-margin-left: 2.6gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">This</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">File(HelloWorldImpl.java)</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Was</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Created</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">By</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Ivan</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">On</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><st1:chsdate w:st="on" Year="2008" Month="9" Day="18" IsLunarDate="False" IsROCDate="False"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">2008</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f7f9f; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">-</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">9</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f7f9f; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">-</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">18</SPAN></SPAN></st1:chsdate><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">package</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> net.vicp.fst.rmi.server.study;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> java.rmi.RemoteException;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> javax.naming.Context;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> javax.naming.InitialContext;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> weblogic.rmi.RMISecurityManager;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> net.vicp.fst.rmi.face.study.HelloWorld;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@author</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Ivan</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">用途：</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">HelloWorld</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">接口的实现</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">class</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> <SPAN style="BACKGROUND: silver; mso-highlight: silver">HelloWorldImpl</SPAN> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">implements</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> HelloWorld {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">private</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> String </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">strGot</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> HelloWorldImpl() {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">super</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">();</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> HelloWorldImpl(String </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">str</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">) </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">throws</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> RemoteException {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">super</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">();</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">this</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">strGot</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> = </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">str</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">out</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.println(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"Creating HelloWorldImpl! What You've Sent Us Is:"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>+ </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">this</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">strGot</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">HelloWorld</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">接口</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">sayHello</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">方法的实现</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@see</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">net.vicp.fst.rmi.face.study.HelloWorld#sayHello()</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> String sayHello() </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">throws</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> RemoteException {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">out</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.println(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"Saying Hello World To You From The RMI Server!"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">return</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"Hello World From RMI Server!"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@param</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">args</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">static</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">void</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> main(String[] </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">args</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">) {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">if</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> (System.<I>getSecurityManager</I>() == </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">null</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">)</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.<I>setSecurityManager</I>(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">new</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> RMISecurityManager());</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">try</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="BACKGROUND: silver; mso-highlight: silver">HelloWorldImpl</SPAN> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">srv</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> = </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">new</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> <SPAN style="BACKGROUND: silver; mso-highlight: silver">HelloWorldImpl</SPAN>(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"HelloWorldServer"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Context </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">ctx</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> = </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">new</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> InitialContext();</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">ctx</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.bind(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"HelloWorldServer"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">, </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">srv</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">out</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.println(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"HelloWorldServer</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">创建并帮定到</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">WebLogic!"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>} </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">catch</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> (Exception </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">e</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">) {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">err</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.println(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"HelloWorldServer</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">创建或绑定到</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">WebLogic</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">时出现异常</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">:"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">e</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.printStackTrace();</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; TEXT-ALIGN: left; mso-para-margin-left: 2.6gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; mso-para-margin-left: 2.6gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">}</SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27.3pt; mso-para-margin-left: 2.6gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">并不要求您设置安全管理器以将安全性集成到应用程序中。安全是由</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> WebLogic Server</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">SSL</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">ACL</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的支持处理的。如果必须设置安全管理器，则可以使用自己的安全管理器，但不要将其安装在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic Server</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中。</SPAN></SPAN></P>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>4)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">编译</SPAN><SPAN lang=EN-US><FONT face=Arial>Java</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">类</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">javac</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或某些其他</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Java</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译器编译</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">.java</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件，以便生成远程接口的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">.class</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件以及实现它的类。当然，</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">eclipse</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以自动编译的，生成的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">class</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件都在</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">bin</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录下。</SPAN></SPAN></P>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>5)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">使用</SPAN><SPAN lang=EN-US><FONT face=Arial>RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">编译器编译实现类</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对远程类运行</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译器</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> (weblogic.rmic)</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，以便在运行过程中生成动态代理和字节代码。代理是远程对象的客户端代理，它将每个</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">调用转发到与其匹配的服务器端字节代码，而此字节代码又依次将此调用转发到实际远程对象实现。要运行</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> weblogic.rmic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，请使用命令模式：</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> </FONT></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><FONT face="Times New Roman">Java weblogic.rmic nameOfRemoteClass</FONT></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">其中，</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">nameOfRemoteClass </FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">是实现远程接口的类的完整包名。对于前面使用的示例，命令将为：</SPAN><SPAN lang=EN-US><FONT face="Times New Roman"> </FONT></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><FONT face="Times New Roman">Java –cp <B style="mso-bidi-font-weight: normal"><SPAN style="COLOR: red">.;..\lib\weblogic.jar</SPAN></B> weblogic.rmic net.vicp.fst.rmi.server.study.HelloWorldImpl</FONT></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">上面的命令中“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">–cp<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>.;..\lib\weblogic.jar</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”用来加入</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">CLASSPATH</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，文件夹“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">lib</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”是与“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">src</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”和“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">bin</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”同级别的文件夹，用来存放系统中所使用的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">jar</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件。</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如果在创建存根控件或骨架类时需要保留生成的源代码，请在运行</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">weblogic.rmic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">时设置标志</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">-keepgenerated</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN></SPAN></P>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>6)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">编写调用远程方法的代码</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">首先，在已经建立的</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Project:RmiWlClient</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中，创建</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">package</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，名称为“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">net.vicp.fst.rmi.client.study</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”；</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">然后，从</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Project:RmiWlServer</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中将有关接口的定义导出为</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">jar</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件，如</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">face.jar</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，并将该文件放入</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">Project: RmiWlClient</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的编译路径；</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">最后，</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">package</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">net.vicp.fst.rmi.client.study</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”下建立类“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">HelloWorldClient</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”，该类的详细代码如下所示：</SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; mso-para-margin-left: 2.57gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">This</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">File(HelloWorldClient.java)</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Was</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Created</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">By</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Ivan</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">On</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><st1:chsdate w:st="on" Year="2008" Month="9" Day="18" IsLunarDate="False" IsROCDate="False"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">2008</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f7f9f; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">-</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">9</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f7f9f; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">-</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">18</SPAN></SPAN></st1:chsdate><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">package</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> net.vicp.fst.rmi.client.study;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> java.util.Hashtable;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> javax.naming.Context;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> javax.naming.InitialContext;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> javax.naming.NamingException;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">import</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> net.vicp.fst.rmi.face.study.HelloWorld;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@author</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">Ivan</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">用途：调用</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">WebLogic</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">提供的</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">RMI</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">服务</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">class</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> <SPAN style="BACKGROUND: silver; mso-highlight: silver">HelloWorldClient</SPAN> {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">定义</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">JNDI</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier New'; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'">连接字符串</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">final</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">static</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> String </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">JNDI_FACTORY</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> = </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"weblogic.jndi.WLInitialContextFactory"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">;</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> HelloWorldClient() {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">private</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">static</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> InitialContext getInitialContext(String </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">url</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">)</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">throws</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> NamingException {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Hashtable </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">env</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> = </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">new</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> Hashtable();</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">env</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.put(Context.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">INITIAL_CONTEXT_FACTORY</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">, </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">JNDI_FACTORY</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">env</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.put(Context.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">PROVIDER_URL</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">, </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">url</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">return</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">new</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> InitialContext(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">env</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">/**</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f9fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">@param</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">args</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #3f5fbf; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">*/</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">public</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">static</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">void</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> main(String[] </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">args</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">) {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">try</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>InitialContext </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">ic</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> = <SPAN style="BACKGROUND: silver; mso-highlight: silver">HelloWorldClient</SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>.<I>getInitialContext</I>(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"t3://localhost:7001"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>HelloWorld </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">client</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> = (HelloWorld) </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">ic</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.lookup(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"HelloWorldServer"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><I><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #0000c0; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">out</SPAN></I></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.println(</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #2a00ff; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">"Message Return From Server[localhost] Is:"</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>+ </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">client</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.sayHello());</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>} </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #7f0055; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">catch</SPAN></B></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"> (Throwable </SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">t</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">) {</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">t</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">.printStackTrace();</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>System.<I>exit</I>(-1);</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; TEXT-ALIGN: left; mso-para-margin-left: 2.57gd; mso-layout-grid-align: none" align=left><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>}</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt"><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; mso-para-margin-left: 2.57gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-font-kerning: 0pt">}</SPAN></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #cccccc; MARGIN: 0cm 0cm 0pt 27pt; mso-para-margin-left: 2.57gd"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></SPAN></P>
<H1 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; LINE-HEIGHT: normal; mso-list: l2 level1 lfo1; tab-stops: list 21.0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 18pt; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman">3.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></FONT></SPAN></SPAN><SPAN style="FONT-SIZE: 18pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">部署例子到</SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="FONT-SIZE: 18pt"><FONT face="Times New Roman">WebLogic<o:p></o:p></FONT></SPAN></SPAN></H1>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo3; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>1)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">配置</SPAN><SPAN lang=EN-US><FONT face=Arial>RMI</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">服务到</SPAN><SPAN lang=EN-US><FONT face=Arial>WebLogic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">上</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">启动</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">服务，登录到</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的控制台，依次选择“部署－启动和关闭”，然后点击“<SPAN style="COLOR: blue">配置新的</SPAN></SPAN><SPAN lang=EN-US style="COLOR: blue"><FONT face="Times New Roman">Startup </FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="COLOR: blue; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">类</SPAN><SPAN lang=EN-US style="COLOR: blue"><FONT face="Times New Roman">...</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”，出现下图，在图中填入所示内容：</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;<IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; WIDTH: 484px; BORDER-TOP-COLOR: #000000; HEIGHT: 312px; BORDER-RIGHT-COLOR: #000000" height=500 src="http://blogger.org.cn/blog/uploadfile/2008919205726694.JPG" width=1000 border=0></FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;<IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; WIDTH: 559px; BORDER-TOP-COLOR: #000000; HEIGHT: 202px; BORDER-RIGHT-COLOR: #000000" height=247 src="http://blogger.org.cn/blog/uploadfile/2008919205943206.JPG" width=1031 border=0></FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman"><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; WIDTH: 598px; BORDER-TOP-COLOR: #000000; HEIGHT: 385px; BORDER-RIGHT-COLOR: #000000" height=474 src="http://blogger.org.cn/blog/uploadfile/200891921051286.JPG" width=980 border=0>&nbsp;</FONT></o:p></SPAN></SPAN></P>
<H2 style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo3; tab-stops: list 21.0pt; mso-line-height-alt: 0pt"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US style="mso-fareast-font-family: Arial; mso-bidi-font-family: Arial"><SPAN style="mso-list: Ignore"><FONT face=Arial>2)</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">启动服务和客户端，测试配置结果</SPAN></SPAN></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">启动</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">WebLogic</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">服务，在启动过程中，系统会有提示信息，如下图所示：</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;<IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; WIDTH: 492px; BORDER-TOP-COLOR: #000000; HEIGHT: 239px; BORDER-RIGHT-COLOR: #000000" height=303 src="http://blogger.org.cn/blog/uploadfile/200891921141548.JPG" width=492 border=0></FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt; mso-char-indent-count: 2.0"><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">运行客户端“</SPAN><SPAN lang=EN-US><FONT face="Times New Roman">HelloWorldClient</FONT></SPAN></SPAN><SPAN style="mso-bookmark: OLE_LINK1"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”，查看客户端输出，并查看客户端输出的内容，并且服务器端控制台会输出如下内容如图：</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman"><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; WIDTH: 472px; BORDER-TOP-COLOR: #000000; HEIGHT: 233px; BORDER-RIGHT-COLOR: #000000" height=229 src="http://blogger.org.cn/blog/uploadfile/20089192128521.JPG" width=528 border=0>&nbsp;</FONT></o:p></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN style="mso-bookmark: OLE_LINK1"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;<IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000" height=56 src="http://blogger.org.cn/blog/uploadfile/200891921236671.JPG" width=488 border=0></FONT></o:p></SPAN></SPAN></P><SPAN style="mso-bookmark: OLE_LINK1"></SPAN>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
<P>&nbsp;</P>]]></description>
</item><item>
<title><![CDATA[九一八，勿忘国耻！]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=40053</link>
<author>tao83915</author>
<pubDate>2008/9/18 18:10:22</pubDate>
<description><![CDATA[<P><STRONG><FONT color=#ff0000 size=5>&nbsp;&nbsp;&nbsp;&nbsp;今天是九月十八日，我们永远也不要忘记一九三一年九月十八日，不要忘记我们的民族曾经遭受的耻辱，不要忘记我们中华儿女遭受了怎样的压迫，不要忘记我们的先辈们为将侵略者——日军驱逐出中国所做出的牺牲！</FONT></STRONG></P>
<P><STRONG><FONT color=#ff0000 size=5>&nbsp;&nbsp;&nbsp; 同胞们，铭记今天，铭记七十七年前的今天，铭记我们的耻辱，发奋努力，强我中华！！</FONT></STRONG></P>]]></description>
</item><item>
<title><![CDATA[JAVA RMI 学习]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=40013</link>
<author>tao83915</author>
<pubDate>2008/9/17 20:42:57</pubDate>
<description><![CDATA[
<P _fckxhtmljob="2"><FONT color=#3366ff size=3 _fckxhtmljob="2"><STRONG>&nbsp;&nbsp;&nbsp; 由于工作途中遇到了RMI（Remote Method Invocation 远程方法调用），它是一个分布式对象系统，它使你能够轻松地开发出分布式Java应用程序。在RMI中开发分布式应用程序比用套接字开发要简单，因为不需要做设计协议这种很容易出错的工作。在RMI中，开发者会有一种错觉，似乎是从本地类文件调用的本地方法，其实参数传送给了远程目标，目标解释参数后再把结果发回给调用方。</STRONG></FONT></P>
<P align=right _fckxhtmljob="2"><FONT color=#3366ff size=2 _fckxhtmljob="2"><STRONG>（以上系引用为主&nbsp;&nbsp; 源：http://tech.ccidnet.com/art/3539/20080526/1457809_1.html）</STRONG></FONT></P>
<P _fckxhtmljob="2"><FONT color=#3366ff size=3 _fckxhtmljob="2"><STRONG>&nbsp; 在学习RMI的过程中，有一个非常明显的感觉，那就是分布式的应用采用RMI来开发应该很快！首先，RMI通过定义接口和接口实现，使得客户端调用者和服务提供者分离，这样只要不改变接口定义，客户端就不用修改，而服务端则可以用自己的方式来修改或升级。</STRONG></FONT></P>
<P _fckxhtmljob="2"><FONT color=#3366ff size=3 _fckxhtmljob="2"><STRONG>&nbsp; 下面来简单介绍一下RMI应用的组成，并给出个人根据网上相关资源所写的一个简单例子。通常一个RMI应用应该分为：1、服务提供者和服务享受者协商确定的接口；2、接口在服务提供方的实现；3、服务提供程序；4、客户端调用程序。下面的源代码是我在JDK1.5下调试通过的，服务端程序在被调用时，会在服务端打印信息以显示正在提供服务，而客户端也会提示接收服务的相关信息，详细过程不再赘述，看看代码就一目了然了！</STRONG></FONT></P>
<P _fckxhtmljob="2"><FONT color=#993366 size=3 _fckxhtmljob="2"><STRONG>1、服务提供者和服务享受者协商确定的接口：</STRONG></FONT></P><FONT color=#993366 size=2 _fckxhtmljob="2">
<DIV class=HtmlCode title=点击运行该代码！ style="CURSOR: pointer" onclick="preWin=window.open('','','');preWin.document.open();preWin.document.write(this.innerText);preWin.document.close();" ;>
<P _fckxhtmljob="2"><FONT color=#993366 size=2 _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* Created On 2008-9-17 By Ivan<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">package net.vicp.fst.rmi.operate;</FONT></P>
<P _fckxhtmljob="2"><FONT color=#993366 size=2 _fckxhtmljob="2">import java.rmi.Remote;<BR _fckxhtmljob="2">import java.rmi.RemoteException;</FONT></P>
<P _fckxhtmljob="2"><FONT color=#993366 size=2 _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* @author Ivan 此接口用于定义本地和远程服务器上程序的公共接口<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">public interface IOperateUtil extends Remote {<BR _fckxhtmljob="2">&nbsp;/**<BR _fckxhtmljob="2">&nbsp; * 读取服务器上指定文件的内容返回<BR _fckxhtmljob="2">&nbsp; * <BR _fckxhtmljob="2">&nbsp; * @param absFileName<BR _fckxhtmljob="2">&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 文件在服务器上的绝对路径(含文件名称)<BR _fckxhtmljob="2">&nbsp; * @return 文件内容<BR _fckxhtmljob="2">&nbsp; * @throws RemoteException<BR _fckxhtmljob="2">&nbsp; */<BR _fckxhtmljob="2">&nbsp;public String readFileContent(String absFileName) throws RemoteException;</FONT></P>
<P _fckxhtmljob="2"><FONT color=#993366 size=2 _fckxhtmljob="2">&nbsp;/**<BR _fckxhtmljob="2">&nbsp; * 在服务器上执行命令,将命令执行的结果返回<BR _fckxhtmljob="2">&nbsp; * <BR _fckxhtmljob="2">&nbsp; * @param cmd<BR _fckxhtmljob="2">&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 具体命令<BR _fckxhtmljob="2">&nbsp; * @return 命令执行结果<BR _fckxhtmljob="2">&nbsp; * @throws RemoteException<BR _fckxhtmljob="2">&nbsp; */<BR _fckxhtmljob="2">&nbsp;public String execCommand(String cmd) throws RemoteException;<BR _fckxhtmljob="2">}</FONT></P></DIV>
<P _fckxhtmljob="2"></FONT><FONT color=#996600 size=3 _fckxhtmljob="2"><STRONG>2、接口在服务提供方的实现：</STRONG></FONT></P><FONT color=#996600 size=3 _fckxhtmljob="2"><FONT size=2 _fckxhtmljob="2">
<DIV class=HtmlCode title=点击运行该代码！ style="CURSOR: pointer" onclick="preWin=window.open('','','');preWin.document.open();preWin.document.write(this.innerText);preWin.document.close();" ;>
<P _fckxhtmljob="2"><FONT color=#996600 size=3 _fckxhtmljob="2"><FONT size=2 _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* Created On 2008-9-17 By Ivan<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">package net.vicp.fst.rmi.operate.impl;</FONT></FONT></P>
<P _fckxhtmljob="2"><FONT color=#996600 size=3 _fckxhtmljob="2"><FONT size=2 _fckxhtmljob="2">import java.rmi.RemoteException;</FONT></FONT></P>
<P _fckxhtmljob="2"><FONT color=#996600 size=3 _fckxhtmljob="2"><FONT size=2 _fckxhtmljob="2">import net.vicp.fst.rmi.operate.IOperateUtil;</FONT></FONT></P>
<P _fckxhtmljob="2"><FONT color=#996600 size=3 _fckxhtmljob="2"><FONT size=2 _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* @author Ivan 此类是IOperateUtil接口的实现<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">public class OperateUtilImpl implements IOperateUtil {</FONT></FONT></P>
<P _fckxhtmljob="2"><FONT color=#996600 size=3 _fckxhtmljob="2"><FONT size=2 _fckxhtmljob="2">&nbsp;/**<BR _fckxhtmljob="2">&nbsp; * 读取服务器上指定文件的内容返回<BR _fckxhtmljob="2">&nbsp; * <BR _fckxhtmljob="2">&nbsp; * @param absFileName<BR _fckxhtmljob="2">&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 文件在服务器上的绝对路径(含文件名称)<BR _fckxhtmljob="2">&nbsp; * @return 文件内容<BR _fckxhtmljob="2">&nbsp; * @throws RemoteException<BR _fckxhtmljob="2">&nbsp; */<BR _fckxhtmljob="2">&nbsp;public String execCommand(String cmd) throws RemoteException {<BR _fckxhtmljob="2">&nbsp;&nbsp;System.out.println("远程客户端正在调用服务器执行命令:\"" + cmd + "\" !");<BR _fckxhtmljob="2">&nbsp;&nbsp;System.out.println("命令\"" + cmd + "\"执行完毕!");<BR _fckxhtmljob="2">&nbsp;&nbsp;return "命令:\"" + cmd + "\"执行的结果是:……";<BR _fckxhtmljob="2">&nbsp;}</FONT></FONT></P>
<P _fckxhtmljob="2"><FONT color=#996600 size=3 _fckxhtmljob="2"><FONT size=2 _fckxhtmljob="2">&nbsp;/**<BR _fckxhtmljob="2">&nbsp; * 在服务器上执行命令,将命令执行的结果返回<BR _fckxhtmljob="2">&nbsp; * <BR _fckxhtmljob="2">&nbsp; * @param cmd<BR _fckxhtmljob="2">&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 具体命令<BR _fckxhtmljob="2">&nbsp; * @return 命令执行结果<BR _fckxhtmljob="2">&nbsp; * @throws RemoteException<BR _fckxhtmljob="2">&nbsp; */<BR _fckxhtmljob="2">&nbsp;public String readFileContent(String absFileName) throws RemoteException {<BR _fckxhtmljob="2">&nbsp;&nbsp;System.out.println("远程客户端正在调用服务器读取文件:\"" + absFileName + "\"中的内容.");<BR _fckxhtmljob="2">&nbsp;&nbsp;System.out.println("文件\"" + absFileName + "\"的内容被读取完毕!");<BR _fckxhtmljob="2">&nbsp;&nbsp;return "文件\"" + absFileName + "\"中的内容是:……";<BR _fckxhtmljob="2">&nbsp;}<BR _fckxhtmljob="2">}</FONT></FONT></P></DIV>
<P _fckxhtmljob="2"></FONT></FONT><FONT color=#333399 size=3 _fckxhtmljob="2"><STRONG>3、服务提供程序：</STRONG></FONT></P><FONT color=#333399 size=2 _fckxhtmljob="2">
<DIV class=HtmlCode title=点击运行该代码！ style="CURSOR: pointer" onclick="preWin=window.open('','','');preWin.document.open();preWin.document.write(this.innerText);preWin.document.close();" ;>
<P _fckxhtmljob="2"><FONT color=#333399 size=2 _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* Created On 2008-9-17 By Ivan<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">package net.vicp.fst.rmi.server;</FONT></P>
<P _fckxhtmljob="2"><FONT color=#333399 size=2 _fckxhtmljob="2">import java.rmi.Naming;<BR _fckxhtmljob="2">import java.rmi.RMISecurityManager;<BR _fckxhtmljob="2">import java.rmi.RemoteException;<BR _fckxhtmljob="2">import java.rmi.registry.LocateRegistry;<BR _fckxhtmljob="2">import java.rmi.server.UnicastRemoteObject;<BR _fckxhtmljob="2">import net.vicp.fst.rmi.operate.IOperateUtil;<BR _fckxhtmljob="2">import net.vicp.fst.rmi.operate.impl.OperateUtilImpl;<BR _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* @author Ivan<BR _fckxhtmljob="2">&nbsp;* 此类用于启动RMI服务器<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">public class FstRmiServer extends UnicastRemoteObject {</FONT></P>
<P _fckxhtmljob="2"><FONT color=#333399 size=2 _fckxhtmljob="2">&nbsp;private static final long serialVersionUID = 6158084897536450551L;<BR _fckxhtmljob="2">&nbsp;<BR _fckxhtmljob="2">&nbsp;private IOperateUtil iou = null;<BR _fckxhtmljob="2">&nbsp;<BR _fckxhtmljob="2">&nbsp;protected FstRmiServer() throws RemoteException {<BR _fckxhtmljob="2">&nbsp;&nbsp;super();<BR _fckxhtmljob="2">&nbsp;&nbsp;System.out.println("启动本地RMI服务器...");<BR _fckxhtmljob="2">&nbsp;}<BR _fckxhtmljob="2">&nbsp;<BR _fckxhtmljob="2">&nbsp;/**<BR _fckxhtmljob="2">&nbsp; * 初始化RMI对象,并将RMI对象绑定到名称<BR _fckxhtmljob="2">&nbsp; */<BR _fckxhtmljob="2">&nbsp;public void startRMI(){<BR _fckxhtmljob="2">&nbsp;&nbsp;if(System.getSecurityManager()!=null){<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.setSecurityManager(new RMISecurityManager());<BR _fckxhtmljob="2">&nbsp;&nbsp;}<BR _fckxhtmljob="2">&nbsp;&nbsp;try {<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;iou = new OperateUtilImpl();<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;// 将该对象实例与名称FstRmiUtil绑定<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;LocateRegistry.createRegistry(1385);<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;Naming.bind("rmi://localhost:1385/FstRmiUtil", iou);<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.out.println("RMI服务启动成功!");<BR _fckxhtmljob="2">&nbsp;&nbsp;} catch (Exception e) {<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.err.println("RMI服务启动失败!详细信息如下:");<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;e.printStackTrace();<BR _fckxhtmljob="2">&nbsp;&nbsp;} <BR _fckxhtmljob="2">&nbsp;}</FONT></P>
<P _fckxhtmljob="2"><FONT color=#333399 size=2 _fckxhtmljob="2">&nbsp;/**<BR _fckxhtmljob="2">&nbsp; * @param args<BR _fckxhtmljob="2">&nbsp; */<BR _fckxhtmljob="2">&nbsp;public static void main(String[] args) {<BR _fckxhtmljob="2">&nbsp;&nbsp;try{<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;FstRmiServer server = new FstRmiServer();<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;server.startRMI();<BR _fckxhtmljob="2">&nbsp;&nbsp;}catch(Exception e){<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;e.printStackTrace();<BR _fckxhtmljob="2">&nbsp;&nbsp;}<BR _fckxhtmljob="2">&nbsp;}<BR _fckxhtmljob="2">}</FONT></P></DIV>
<P _fckxhtmljob="2"></FONT><FONT color=#663333 size=3 _fckxhtmljob="2"><STRONG>4、客户端调用程序：<FONT size=2 _fckxhtmljob="2"></FONT></STRONG></P><FONT color=#663333 size=3 _fckxhtmljob="2">
<DIV class=HtmlCode title=点击运行该代码！ style="CURSOR: pointer" onclick="preWin=window.open('','','');preWin.document.open();preWin.document.write(this.innerText);preWin.document.close();" ;>
<P _fckxhtmljob="2"><FONT color=#663333 size=2 _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* Created On 2008-9-17 By Ivan<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">package net.vicp.fst.rmi.client;<BR _fckxhtmljob="2">import java.net.MalformedURLException;<BR _fckxhtmljob="2">import java.rmi.Naming;<BR _fckxhtmljob="2">import java.rmi.NotBoundException;<BR _fckxhtmljob="2">import java.rmi.RemoteException;<BR _fckxhtmljob="2">import net.vicp.fst.rmi.operate.IOperateUtil;<BR _fckxhtmljob="2">/**<BR _fckxhtmljob="2">&nbsp;* @author Ivan 此类用于调用RMI服务器上服务<BR _fckxhtmljob="2">&nbsp;*/<BR _fckxhtmljob="2">public class FstRmiClient {<BR _fckxhtmljob="2">&nbsp;public void invokeRMI(String IpAddress, String PortNumber, String ServiceName) {<BR _fckxhtmljob="2">&nbsp;&nbsp;try {<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.out.println("开始调用RMI服务...");<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;IOperateUtil iou = (IOperateUtil)Naming.lookup("rmi://" + IpAddress + ":" + PortNumber + "/"<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ ServiceName);<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;//调用远程服务<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;String fileContent = iou.readFileContent("D:\\ftpRoot\\test.txt");<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.out.println(fileContent);<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;String cmdOut = iou.execCommand("type D:\\ftpRoot\\test.txt");<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.out.println(cmdOut);<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.out.println("调用RMI服务完毕!");<BR _fckxhtmljob="2">&nbsp;&nbsp;} catch (NotBoundException ne) {<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.err.println("调用RMI服务发生 NotBoundException 异常,详细信息如下:");<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;ne.printStackTrace();<BR _fckxhtmljob="2">&nbsp;&nbsp;} catch (MalformedURLException mue) {<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.err.println("调用RMI服务发生 MalformedURLException 异常,详细信息如下:");<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;mue.printStackTrace();<BR _fckxhtmljob="2">&nbsp;&nbsp;} catch (RemoteException re) {<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;System.err.println("调用RMI服务发生 RemoteException 异常,详细信息如下:");<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;re.printStackTrace();<BR _fckxhtmljob="2">&nbsp;&nbsp;}<BR _fckxhtmljob="2">&nbsp;}</FONT></P>
<P _fckxhtmljob="2"><FONT color=#663333 size=2 _fckxhtmljob="2">&nbsp;/**<BR _fckxhtmljob="2">&nbsp; * @param args 调用RMI服务的参数,详细入下&lt;br&gt;<BR _fckxhtmljob="2">&nbsp; * &lt;ul&gt;<BR _fckxhtmljob="2">&nbsp; * &nbsp;args[0]:RMI服务器IP地址 &lt;br&gt;<BR _fckxhtmljob="2">&nbsp; * &nbsp;args[1]:RMI服务端口 &lt;br&gt;<BR _fckxhtmljob="2">&nbsp; * &nbsp;args[2]:RMI服务名称 &lt;br&gt;<BR _fckxhtmljob="2">&nbsp; * &lt;/ul&gt;<BR _fckxhtmljob="2">&nbsp; */<BR _fckxhtmljob="2">&nbsp;public static void main(String[] args) {<BR _fckxhtmljob="2">&nbsp;&nbsp;FstRmiClient client = new FstRmiClient();<BR _fckxhtmljob="2">&nbsp;&nbsp;if(args.length != 3){<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;client.invokeRMI("192.168.1.77", "1385", "FstRmiUtil");<BR _fckxhtmljob="2">&nbsp;&nbsp;}else{<BR _fckxhtmljob="2">&nbsp;&nbsp;&nbsp;client.invokeRMI(args[0], args[1], args[2]);<BR _fckxhtmljob="2">&nbsp;&nbsp;}<BR _fckxhtmljob="2">&nbsp;}<BR _fckxhtmljob="2">}</FONT></P></DIV></FONT>
<P _fckxhtmljob="2"><FONT _fckxhtmljob="2"><FONT color=#3366ff _fckxhtmljob="2"><STRONG>&nbsp; 将以上程序编译，然后分别打包成jar，客户端只需要知道接口的定义和客户端本身的调用程序，而服务器端则不需要知道客户端是怎么调用，但必须知道提供服务的实现。因此，打包的时候将1 2 3打包为服务器短运行的程序，将1 4打包成为客户端运行的程序即可！</STRONG></FONT></FONT></P>
<P _fckxhtmljob="2"><FONT color=#3366ff _fckxhtmljob="2"><STRONG>&nbsp; 测试的时候需要在客户端指定服务方的IP，端口以及服务绑定名称，具体的测试信息不再给出！</STRONG></FONT></P></FONT>]]></description>
</item><item>
<title><![CDATA[一片飞翔的叶子]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=38745</link>
<author>tao83915</author>
<pubDate>2008/8/10 22:14:20</pubDate>
<description><![CDATA[<FONT color=#051e84 size=4>一阵风吹来，一片叶子脱离了树枝，飞向天空。 <BR>“我会飞了，我会飞了。”叶子边飞边叫，“我要飞上天了！” <BR>叶子飞呀飞，飞过了一棵树，飞过了一只只栖息在电线上的鸟。 <BR>“哈哈，我飞得比你高。”叶子得意洋洋地对鸟儿说。 <BR>又一阵风吹过，叶子在天空中打了几个转，被吹落到一个小水坑里，随即被路过的一头牛踩进了淤泥里，不见了踪影。 <BR>一只鸟感叹地对它的孩子说：“看到了吧，如果不依靠自己的力量，风既可以把你吹上天，也可以把你吹进泥潭，要飞翔，必须靠自身的力量。”</FONT>]]></description>
</item><item>
<title><![CDATA[找回自我]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=38283</link>
<author>tao83915</author>
<pubDate>2008/7/31 20:13:21</pubDate>
<description><![CDATA[<P><FONT color=#3463aa>不知道从什么时候开始，</FONT></P>
<P><FONT color=#3463aa>我已经不再对自己说：</FONT></P>
<P><FONT color=#3463aa>千万别给我机会，给我抓住，我一定闹个天翻地覆。</FONT></P>
<P><FONT color=#3463aa>不知道这说明了什么，</FONT></P>
<P><FONT color=#3463aa>至少我能感觉到自己缺失了什么：意志、思想、进取心...</FONT></P>
<P><FONT color=#3463aa>越来越丢失自我了还是越来越自我了？</FONT></P>
<P><FONT color=#3463aa>我怎么这样了？</FONT></P>
<P><FONT color=#3463aa>大学的时候我不是这样的啊，</FONT></P>
<P><FONT color=#3463aa>我是怎么了？</FONT></P>
<P><FONT color=#3463aa>习惯失败了？习惯沉沦了？习惯迷失了？</FONT></P>
<P><FONT color=#3463aa>人总是得活着吧，活着就得做事！</FONT></P>
<P><FONT color=#3463aa>做什么呢？</FONT></P>
<P><FONT color=#3463aa>不是什么惊天动地的，至少对你有意义！！</FONT></P>
<P><FONT color=#3463aa>你不要迷失，不要沉沦，</FONT></P>
<P><FONT color=#3463aa>生活不是这样就能躲过的，</FONT></P>
<P><FONT color=#3463aa>你没有选择，面对吧。</FONT></P>
<P><FONT color=#3463aa>走，迈坚实的脚步！！</FONT></P>]]></description>
</item><item>
<title><![CDATA[亲爱的]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=38119</link>
<author>tao83915</author>
<pubDate>2008/7/26 22:58:26</pubDate>
<description><![CDATA[
<P>一路走来，三年有余，却是不理解彼此！</P>
<P>每次我们吵架，相互抨击对方不理解自己，这好象越来越家常便饭。</P>
<P>为什么是这样呢？我归结为我们分开太久了，在一起后就会好了！</P>
<P>可是转念，在一起如果还是这样该怎么办呢？</P>
<P>我安慰我自己：生活总会有不如意的地方，我们总得向前看的，没有解决不了的问题，生活会好起来的。</P>
<P>现在，我发现自己似乎不在那样自信了！</P>
<P>吵架，突然间就会到来！暴风骤雨般，你怎么也比面不了被淋的局面。</P>
<P>暴风骤雨后，我在收拾自己凌乱的心绪，收拾自己的心情，我安慰自己，一切都会好起来的，无论如何，我们要走下去的！</P>
<P>每次心情都在破碎后重生，或许是一个微笑，或许是一个短信，或许是一句撒娇的话，我重生，为了下一次暴风雨！</P>
<P>渐渐的，我发现了，我们似乎有隔阂了，挥之不去！</P>
<P>每次我的苦口婆心换来的都是不理解，</P>
<P>每次我真诚的建议都是以吵架结束，</P>
<P>每次我都是安慰我：我们在一起的话，我就能给她讲清楚，那样说话的时候我能看到她的表情，会更好地把握分寸！</P>
<P>每次的暴风雨都是在等待下一次暴风雨！！</P>
<P>我开始恐惧这暴风雨了！！</P>
<P>我诚惶诚恐，小心翼翼，</P>
<P>最终还是一样的被淋！</P>
<P>&nbsp;</P>
<P>我想不通，为什么那样在乎“悦耳”的词语，</P>
<P>为什么会为了这个放弃真诚的建议，</P>
<P>为什么总是要求别人改变说话的方式，</P>
<P>为什么自己永远都是对的呢，</P>
<P>为什么不能认真的听听别人的建议！</P>
<P>&nbsp;</P>
<P>人人都不一样，</P>
<P>我不能用我的方式套用你，</P>
<P>你也不应该用你的方式来套用别人！</P>
<P>&nbsp;</P>
<P>我迷惑了，</P>
<P>现在为什么拒绝进步了？</P>
<P>我迷惑了，</P>
<P>为什么贪慕虚荣了？</P>
<P>我迷惑了，我的心疼了，我的心，碎了！</P>
<P>我好难受！！</P>]]></description>
</item><item>
<title><![CDATA[工作两年了！！！]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=37865</link>
<author>tao83915</author>
<pubDate>2008/7/18 21:14:10</pubDate>
<description><![CDATA[今天，工作两年了！值得纪念的一天！
<P>今天，吵架整整4天了，伤心的一天！</P>
<P>想想过去的两年，想想过去的4天，</P>
<P>怎么感觉两年似乎比这4天还要短暂？</P>
<P>唉，真想赶快在一起，再也不用这样过了！</P>]]></description>
</item><item>
<title><![CDATA[一张图分出你是用左脑还是右脑]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=tao83915&amp;id=37497</link>
<author>tao83915</author>
<pubDate>2008/7/5 17:57:53</pubDate>
<description><![CDATA[<P>如果你看见这个舞女是顺时针转，说明你用的是右脑；<BR>如果是逆时针转，说明你用的左脑。<BR>耶鲁大学耗时5年的研究成果，据说。<BR>14%的美国人可以两个方向都能看见</P>
<P align=center><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000" src="http://blogger.org.cn/blog/uploadfile/20087517575357.GIF" align=middle border=0></P>
<P>大脑就是你自己的智囊。科学研究证明，大脑分为左半球和右半球。左半球是管人的右边的一切活动的，一般左脑具有语言、概念、数字、分析、逻辑推理等功能；右半球是管人的左边的一切活动的，右脑具有音乐、绘画、空间几何、想像、综合等功能。<BR>人的左右半脑是不平衡发展的，统计显示，绝大多数人是左脑发达（其中大约一半的人比较均衡一些）。全球有10％的人是左撇子，即右脑比较发达。而左右脑的发育程度不同，隐含了你的很多特质和天赋的秘密：<BR>理解数学和语言的脑细胞集中在左半球；发挥情感、欣赏艺术的脑细胞集中在右半球。<BR>右半脑发达的人在知觉和想像力方面有可能更强一些；而且知觉、空间感和把握全局的能力都有可能更强一些。在各种动作上相对更敏捷一些。<BR>右脑最重要的贡献是创造性思维。右脑不拘泥于局部的分析，而是统观全局，以大胆猜测跳跃式地前进，达到直觉的结论。在有些人身上，直觉思维甚至变成一种先知能力，使他们能预知未来的变化，事先做出重大决策。<BR>左脑的记忆回路是低速记忆，而右脑的是高速记忆，左脑记忆是一种“劣根记忆”，右脑记忆则让人惊叹，它有“过目不忘”的本事。<BR>处理简单的语言问题时人们左脑相对活跃；左脑发达的人处理事情比较有逻辑、条理。<BR>左脑发达在社交场合比较活跃，善于判断各种关系和因果。<BR>左脑发达善于统计，方向感强。<BR>左脑发达善于组织。<BR>左脑发达善于做技术类、抽象的工作（如电脑编程）。<BR>男性是根据右脑和左脑各自不同的分工来使用大脑的；相比之下，女性却可以同时使用左脑和右脑。<BR>男性和女性大脑的最大区别主要是大脑皮层的构造不同。女性大脑的沟通交流能力特别发达，她们细致、敏感，能够通过察言观色来了解对方的心理，直觉也很灵敏。从构造上看，女性左右脑的脑梁部分粗于男性，因此左右脑可以顺利地同时使用。<BR>多数男性方向感天生就比女性强。<BR>男性的语言表达能力和理解能力远逊于女性。<A></A></P>]]></description>
</item>
</channel>
</rss>