Re: Using an interface between two dl'ed applications

Gregg Wonderly <[email protected]> Mon, 19 Jan 2009 14:29:09 -0600
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Dennis Reedy wrote:
> Before 'C' wants to use 'B', make sure that 'B' is loaded by 'C''s 
> context classloader. One way to make this happen is to:
> 
> B = new MarshalledObject(B).get();
> 
> That way your interface will get loaded correctly

I haven't had to go down this path before.  As long as everything in that object 
can resolve in the active class loader(s), you get what you need!

Gregg Wonderly

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]