• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confused about how to test RMI

 
khanh ng
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I passed my SCJP with a score of 93%. Now I am just trying to build a small chat client and server application to learn the concepts of RMI for the SCJD. But how do I test RMI on a local machine when I am using dial-up for connection? I am not sure what I am suppose to specify as URL for usage in the java.rmi.Naming.lookup within the client to get a reference to the server. Any suggestions will be greatly appreciated.
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded a second sdk 2 and ran the server in one vm and the client in the other and it seems to work fine.

With Respect,
Matt
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic