[jboss-dev-forums] [JBoss AS Development] - Re: Graceful Shutdown
jason.greene@jboss.com
do-not-reply at jboss.com
Tue Nov 24 18:29:11 EST 2009
"ALRubinger" wrote : "jason.greene at jboss.com" wrote : MC dependencies don't make sense in this case. MC deps are internal service implementation details, and don't necessarily reflect the current runtime behavior. Graceful shutdown is all about the enclosing request (or transaction).
|
| If the MC deps don't represent the current runtime, it's wired up incorrectly and works by luck. To get graceful shutdown means to shut the runtime down in order such that no request/session gets orphaned in the process.
|
Let me give an example. Someone defines a service A, which supports remote invocation. There is no dependency between service A and the EJB container (Service B), because it doesn't make sense (they have nothing to do with each other). Then instance SFSB Foo of Service B *dynamically* decides to call service A during an invocation. Then during "graceful" shutdown, service A is stopped first.
The point is that runtime callflow is orthoginal to service dependencies.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267421#4267421
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267421
More information about the jboss-dev-forums
mailing list