I am having two web applications(Java) which has to be deployed in JBoss AS 7.1.1 application server which is running in windows environment. I need to provide to some deployment dependency between the applications. like suppose if A, B are the applications to deployed. B must be deployed if and only if A is successfully deployed but none of the resources of A has to be used by B. I just tried with several configuration changes with overriding the
"jboss-deployment-structure.xml" file in my applications.But the thing is the B is using several resources of A( which is already deployed).So with this my application B is failing while deploying. It shouldn't to be deployed in that way.
Can anyone provide some suggestions on this issue?
Also I need to know if there is trick which can be made at JBoss admin console without making configuration changes in my application.