This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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!!!
 
Don't get me started about those stupid light bulbs.
 
subject: RMI 5.0 Confusion!
 
Similar Threads
Emoticons
SCJP 5.0 Beta
Peabody Justice!
javax.el.PropertyNotFoundException
SCJP Regex Query