aspose file tools
The moose likes Distributed Java and the fly likes Basic RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Basic RMI" Watch "Basic RMI" New topic
Author

Basic RMI

Praveen Balaji
Ranch Hand

Joined: Jun 17, 2001
Posts: 60
I am trying to learn a little RMI for EJB. I used the "Flip" from Ed Roman's "Mastering EJB". When i run my server, it binds to the registry but throws a
"ClassNotFoundException" for Flip_Stub.class.
can someone tell me what mistake i could have meade. I ran the registry on 5008. (It was running when i invoked the server code)
Thanks in advance.
Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
You must make sure that the directory containing Flip_Stub.class is in your classpath. Remember the Stub and skeleton will be placed in a directory hierarchy based on the path name. If doesn't work, try posting the source code to give a better example of what your problem is.
------------------
Ronnie Phelps
Sun Certified Programmer for the Java� 2 Platform
 
IntelliJ Java IDE
 
subject: Basic RMI
 
Threads others viewed
RMI Conversations
URLBirdy: RMI Question
RMI Registry
GUI to stop RMI server?
ask for help. a topic about RMI
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com