This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "RMI question" Watch "RMI question" New topic
Author

RMI question

Geoffrey Falk
Ranch Hand

Joined: Aug 17, 2001
Posts: 171
    
    1
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?

Thanks
Geoffrey

Sun Certified Programmer for the Java 2 Platform
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8935
    
    9

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI question