Could the deployment of the acceptor be part of the deployment of the service? It's
just a separate MC bean that depends on the core service.
That eliminates the issue of deployment phases.
I want to restate my understanding of David's idea in case I have it wrong. :-) The
key concept is to separate internal requests from external requests, with the acceptor
acting as a gate on the external requests. So graceful shutdown ends external requests,
while still leaving the possibility of internal requests, e.g. web tier calling into an
EJB. For the internal requests, the normal dependency mechanism (web app depends on ejb)
ensures the EJB doesn't undeploy before the webapp is undeployed.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267341#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...