Forums Register Login

Relationship b/w client & Remote object

+Pie Number of slices to send: Send
Hi,
In servlets, there will be a only one instance of class. and each request handled by seperate thread.
How it happens in RMI?. How is the relationship between client and remote object? is it one-to-one or many-to-one.
Thanks in advance
bye
mohan
+Pie Number of slices to send: Send
Hi ,
I would say one-to-one. In your client program Naming.lookup, looks for the specific object registered in the rmiregistry. Then client asks for the "stub" class. Once it gets the stub class, it can invoke remote methods.
Praveen.
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 649 times.
Similar Threads
One Last Question
NX Contractors: Handling deadlocks from client crashes
NX(URLyBird):single remote object or multi-remote object?
unlock Thread
SCJD RMI Query
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:08:27.