开发者

Port and RmiPort on JBoss NamingService

开发者 https://www.devze.com 2023-01-23 12:07 出处:网络
On JBoss 5, there is the NamingService, which lets you speci开发者_开发问答fy the properties Port (1099 by default) and RmiPort (1098 by default). I\'ve never needed to know how this works before now,

On JBoss 5, there is the NamingService, which lets you speci开发者_开发问答fy the properties Port (1099 by default) and RmiPort (1098 by default). I've never needed to know how this works before now, it has always Just Worked™.

How are these ports used? Is Port used to find objects in JNDI and then RmiPort used to invoke them, or do they both provide different approaches for invoking the same methods on the same classes?


As you said, Port is the port of the rmi registry, and RmiPort the port where the connections are made

0

精彩评论

暂无评论...
验证码 换一张
取 消