File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes How many instances are created? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "How many instances are created?" Watch "How many instances are created?" New topic
Author

How many instances are created?

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Peter Tran
Bartender

Joined: Jan 02, 2001
Posts: 783
I'm going to move this to the Developer's Certification for you.
-Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How many instances are created?
 
Similar Threads
NX: RMI question
Serving RMI without lookup - working, but why?
RMI, threads, locking unlocking records
How many instances are created?
Server-side threads in Java RMI