Re: Help with java.rmi.server.codebase
Gregg Wonderly <[email protected]> Tue, 2 Jan 2007 15:49:15 -0600
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Bob Scheifler wrote: >> 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. Wow, that's an interesting side effect. Is this a factor of what classloader is active, or code that deliberately tries the codebase classloader's content as a failover or otherwise? Gregg Wonderly =========================================================================== 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