wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Confused about how to test RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Confused about how to test RMI" Watch "Confused about how to test RMI" New topic

Confused about how to test RMI

khanh ng

Joined: Mar 26, 2001
Posts: 5
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

Joined: Oct 12, 2000
Posts: 318
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,
subject: Confused about how to test RMI
Similar Threads
JUnit testing RMI with Mocks...
Servlet as an rmi client
Problem with RMI
RMI and resource share
How does server call clinet methods?