[jboss-dev-forums] [Design of the JBoss EJB Container] - Re: Container artifacts should have symmetric lifecycles

alex.loubyansky@jboss.com do-not-reply at jboss.com
Mon Oct 6 07:57:04 EDT 2008


It's complicated with CMP (and maybe EJB in general) since there could be CMR (or other non declared EJB references).
CMRs aren't translated into service dependencies. So, just restarting an entity bean is not safe. And IMO it shouldn't be a requirement to be able to restart a single container in an EJB module. Instead, the whole EJB module should be restarted since this is what a deployment unit is. Stopping one of the services should stop the whole module.

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

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



More information about the jboss-dev-forums mailing list