Forums Register Login

why does the server need stubs?

+Pie Number of slices to send: Send
Hi,
I am having to include the stubs on both server side and client side. Can someone tell me why the server side needs it?
RMI documentation says after Java 2.0, skeletons are not needed on the server side. So, in stead of using a skeleton, server uses the same stub as the client?
Still stupid w.r.t RMI
Aruna.
+Pie Number of slices to send: Send
RMI Registry loads the _Stub class, popultes with the serialized data from the RMI Server and sends the serialized object to the client. That is the reason to include _Stub for RMI Registry and the client.
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 694 times.
Similar Threads
EJBs and EJBObject
Some Good Objective questions
isIdentical()
RMI stub classes
EJB Client
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:54:20.