commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Stansberry <bes_commons_...@yahoo.com>
Subject Re: [logging, beanutils, others] Initial proposal for java.lang.ContextClassLoaderLocal or java.lang.Singleton
Date Wed, 23 Mar 2005 16:54:36 GMT

--- Phil Steitz <phil.steitz@gmail.com> wrote:

> Thanks, Simon.  Much clearer now.   
> 
> <snip/> 
> 
> > No, I mean the situation where a container
> continues running, while a webapp
> > or EJB running within it is stopped & restarted
> (potentially with updated
> > code).
> 
> OK,  so then lifecycle events should get triggered.

In the case of EJBs, are there any deployment-scope
lifecycle callbacks analogous to the Servlet API's
ServletContextListener?  All the callbacks I'm aware
of are scoped to individual beans within the pool, not
to the pool itself or to the overall EJB jar
deployment.

If, for example, a stateless session bean used the
commons-foobar library which in turn used JCL for
logging, we wouldn't want the JCL cleanup code to be
called each time ejbRemove() was invoked. 
Particularly not if the SLSB was just one of many
different beans deployed together, all of which
somehow use JCL.

Brian


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more. 
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message