This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 9150

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.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: RMI question
It's not a secret anymore!