We can deploy components and make them depend on other components using the depends tag.
Can we also make the dependent components in a state of "Not configured fully" state when the related component is undeployed.
For an example, say, i have an ear thats dependent on another ear using the depends tag. If i redeploy one of the ears, the dependent component is still going to hold a reference to the other component, which mite result in Classcast exceptions during invocation.
Sorry if this my wording is confusing!! I was just curious how Jboss handles this.
TIA
Raj
Looking at the code, the ServiceController stop method does stop all the dependencies.
So i guess that answers my question, Ill try an example and post the results!!