Re: Help with java.rmi.server.codebase

Bob Scheifler <[email protected]> Tue, 2 Jan 2007 15:41:47 -0500
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
> 1. The system property java.rmi.server.codebase is not the codebase to be used
> by the RMI "server side" to load any classes. It is ONLY used to annotate the
> MarshalledObject (the data stream that is sent between the hosts) with
> information of where the classes can be found.

In the interests of precision, the above is not quite correct.
A quirk of JRMP (not inherited by JERI) is that classes in an
incoming remote call that don't have annotations can in fact
be loaded on the server side from the server's codebase URLs.
But it's not something I would recommend depending on.

- Bob

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html