[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Ordering of .ear subdeployments

pakemann do-not-reply at jboss.com
Mon Apr 9 14:30:29 EDT 2007


Does this ordering govern un-deployment as well?  

I have an ear file consisting of multiple EJB3.0 modules and one web module.  This system needs to perform certain operations at startup and shutdown which rely on all the EJB3.0 modules being available.

Presently I am using module-order to deploy the web-module last, then using a servlet init() method to run the startup sequence.

I would like to do the reverse for shutdown with destroy(), but I need to know that the modules will undeploy in the reverse order that they were deployed. 

Note: I am also looking at replacing the init()/destroy() with ServletConetxtListener contextInitialized/contextDestroyed

Thanks,
-Peter


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035783#4035783

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035783



More information about the jboss-dev-forums mailing list