>http://java.sun.com/products/jdk/1.2/docs/guide/rmi/codebase.html
>my reading of the above document suggests that the rmiregistry indeed
>sends the stub to the client. am i wrong?

Yes, RMI does ship stubs from server to client. Or rather, the client
can ask for them. Servers can annotate a class with a URL on where to
load it, and the client can choose to load from that URL if it wants.
The RMIClassLoader that RMI clients use is configured to do this. It
can cause all sorts of confusions and problems, so if you can get away
without relying on this behaviour you should. 

This is all pretty standard serialization/RMI stuff, and well
documented in various FAQs and such. It's not really Linux specific,
so maybe this will be the end of the topic here.

                                                  [EMAIL PROTECTED]
.       .      .     .    .   .  . . http://www.media.mit.edu/~nelson/


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to