Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI question

 
Geoffrey Falk
Ranch Hand
Posts: 171
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joe Ess
Bartender
Posts: 9312
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic