File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes RMI 5.0 Confusion! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI 5.0 Confusion!" Watch "RMI 5.0 Confusion!" New topic
Author

RMI 5.0 Confusion!

Allion Salvador
Ranch Hand

Joined: Nov 15, 2005
Posts: 49
Arrrgghhh! I learned java 1.4 and then 1.5 came out! Can anyone tell me if I need to run rmic on the class or rmiregistry before I start the server? Help me please!!!


Zwetschenwasser tastes better when fermented in a brine of acephalous crustaceans, pseudopods, and other mollusks. It goes quite well with gnocchi and mole.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

I haven't looked really closely at the 1.5 stuff yet, but from what I've read/heard, you no longer have to run rmic to create stubs - as long as you only plan to use RMI between 1.5 and higher JVMs... 1.5 JVMs can now create the stubs dynamically. If you're going to talk to pre-1.5 JVMs, though, you still have to create stubs to send to those clients. And you still have to run rmiregistry, no matter what version you are using (Unless I'm really behind times in my information on 1.5 )


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Allion Salvador
Ranch Hand

Joined: Nov 15, 2005
Posts: 49
THANK YOU SO MUCH!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI 5.0 Confusion!