tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Bind Object into Global JNDI Within Servlet?
Date Thu, 18 Nov 2004 18:30:07 GMT


>Thanks for the reply!  Any chance webapps will be able to bind objects
>into global JNDI in the future?  I've been using Tomcat 5.0.x.

Any chance?  Sure.  It's low, but it's there.  We're not working on it
at the moment.  But I'm following Geronimo:Naming
(, which is a fork
of Tomcat's naming code.  If it allows writing and binding, or if it
adds other cool features, we might start using it.

>Otherwise, any recommendations for sharing objects across webapps that
>can't be setup using the <GlobalResources> ?  I need to configure some
>things at startup of my webapp.

That's why we give you a shared classloader repository:
$CATALINA_HOME/shared/classes and shared/lib, as explained in the
classloader how-to.  Things in there are visible to all webapps.  You
can further enforce patterns like a Singleton so that only one instance
of a class exist and is shared among all your webapps.


This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message