> From: David Delbecq [mailto:[EMAIL PROTECTED] 
> Subject: Re: using JNDI to share object reference between two apps
> 
> My experience have shown that, if you only use interfaces and the
> interfaces are in the same class loader, the actual classes 
> do no matter.

Definitely true, because the class of interest is the interface class
itself.  The same would be true of subclasses in each webapp that extend
a superclass stored in common/lib, shared/lib, or the system class
loader.  The point is that the class type stored in JNDI by one webapp
can only be accessed by another webapp through some type visible to both
webapps, whether that be an interface, a superclass, or something
supplied by the JRE.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to