[jboss-dev-forums] [JBoss AS Development] - Re: Graceful Shutdown
ALRubinger
do-not-reply at jboss.com
Tue Nov 24 18:39:26 EST 2009
"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?
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267424#4267424
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267424
More information about the jboss-dev-forums
mailing list