Hi!

Kevin Lewis wrote:
> Can anyone tell me how jBoss' JNDI goes about loading classes for
> requested objects?  If I lookup an object, which class loader is used
> for that object?  I know that JNDI in jBoss is hooked to the context
> class loader; is this class loader used for loading the classes of the
> requested objects?

Yes. We use java.rmi.MarshalledObject, which mimics RMI classloading
semantics. It will use the context classloader or the classloader of the
caller (which in this case is the JNDI implementation so doesn't give
much). Essentially you should be looking at making all necessary classes
available in the contextclassloader. Are you having problems with this?

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com

Reply via email to