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 Sockets and Internet Protocols and the fly likes RMI question 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 » Sockets and Internet Protocols
Bookmark "RMI question" Watch "RMI question" New topic

RMI question

Geoffrey Falk
Ranch Hand

Joined: Aug 17, 2001
Posts: 171
Suppose we had an existing RMI server that supported certain method calls.

Then, we upgrade the RMI server. The new interface still includes the same old method calls, but also additional ones.

**Will the old client still be able to communicate with the new RMI server?


Sun Certified Programmer for the Java 2 Platform
Joe Ess

Joined: Oct 29, 2001
Posts: 8834

My gut tells me you should get something like a incompatible version exception. However, I just tried it on some sample RMI code running in different directories on the same computer and it connected fine.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
It is sorta covered in the JavaRanch Style Guide.
subject: RMI question
Similar Threads
Wake up a thread
move from a position to a new position with animation
compile time polymorphism?
Which mail client do you prefer - Outlook or lotus notes?
Understanding creating a "super" class obj from a "subclass" object