• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How many instances are created?

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a little bit confussed, and hoping you guys can help me out. I am working with RMI, and I don't know how many instances are created for Remote Objects. This is in regards to the Developer's exam, but as RMI in general, that's why I posted here.
OK, I have an object that is bound in the registry. If multiple clients lookup the object, does each client get their own version of the object, or is there still only one object? If there is only one object, how do I make the server create some kind of class on the server as a remote object, that stays on the server, but the client can call methods on.
Or is it like the RMI tutorial at Sun that has a Task object that is passed back to the server that is implementing and interface that has a method called executeTask().
Thanks for your help
Mark
 
Peter Tran
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to the Developer's Certification for you.
-Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic