阅读背景:

需要一个RpcDispatcher的示例来进行远程方法调用

来源:互联网 

I am writing a Java application which will be using Jgroups. I have downloaded the JGroups jar and everything looks good from a basic functionality standpoint. I am able to create a simple cluster, and then lanch multiple java JVMS/nodes via JChannel calls in other Java programs which connect/join the cluster just fine. However, I can't seem to get callRemoteMethods to work. Here's the deal. I have the master Java application which I want to start in a JVM that gets launched by the java command. I then would like to have that master Java app launch another JVM via jgroups and start a method which is coded in my master Java application in this second JVM. The example in the Jgroup manual is not that good, and unfortunately examples online are scarce. I am writing a Java application which will be u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: