请问如何将JBuilder中rmi的例子该为dos窗口的执行方式在两台互连的机器上运行?(100分)

  • 主题发起人 主题发起人 income
  • 开始时间 开始时间
I

income

Unregistered / Unconfirmed
GUEST, unregistred user!
请问如何将JBuilder中rmi的例子该为dos窗口的执行方式在两台互连的
机器上运行?目的是想学习java rmi编程方式,另外哪里有比较好的关于
rmi编程的例子?
 
这里java版的人气太差了,请推荐好的java bbs 就给分了
 
在jb下调试 方法如下:
Step summary:
Create an interface (SimpleRMIInterface.java).
Create a class that implements the interface (SimpleRMIImpl.java).
Create a server that creates an instance of this class (SimpleRMIServer.java).
Create a client that connects to the server object using Naming.lookup() (SimpleRMIClient.java).
Set the RMI compiler options on the RMI implementation file (right-click, Properties... | check "Generate RMI stub/skeleton" | enter "-v1.2" in "Options").
Compile the project (Project | Rebuild project "SimpleRMI.jpx").
Start the RMI registry (Tools | RMIRegistry).
Start the server class (check VM java.rmi.server.codebase and java.rmi.server.policy settings, Run | Run project).
Or use the runtime configuration, SimpleRMIServer for Unix or Windows
Verify first that the default VM paramaters are correct for your installation locations.
Run the client program (right-click SimpleRMIClient.java, select Run).
Or use the runtime configuration, SimpleRMIClient for Unix or Windows
Verify first that the default VM paramaters are correct for your installation locations
嘿嘿 是的 delphibbs里确实没有多少java高手 嘿嘿 你可以去www.csdn.net或www.java.com.cn上去找你需要的高手
 
谢谢,你说的步骤是jbuilder中的帮助上写的,我想把
他改为dos窗口的编译和运行模式,不过还是谢谢你这样
的有心人!
 
后退
顶部