[jboss-dev-forums] [JBoss AS Development] - Re: Graceful Shutdown
jason.greene@jboss.com
do-not-reply at jboss.com
Tue Nov 24 19:03:41 EST 2009
"ALRubinger" wrote : "jason.greene at jboss.com" wrote : 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.
|
| Haha, that's exactly my point. There's a missing dependency between B->A. B requires A to function correctly, regardless of whether its a dynamic thing or something we support w/ injection. So if they're deployed in the same container/cluster, I'd expect there to be an explicit dep declared.
|
| For what use case is this not possible?
|
The one I described, jmx-console. You dont know what is going to be invoked until someone clicks on something.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267426#4267426
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267426
More information about the jboss-dev-forums
mailing list