This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Defining deployment dependency b/w EAR and ordering

bunty lava
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jbossAS 5.1 and I have 2 EAR's to be deployed with one EJB in each EAR.

EAR2 uses ejbs exposed by EAR1 but they are not tightly coupled as EAR2 is made to work without the EAR1 by handling EJB service exception in EAR2's EJB clients.

I want to define a dependency b/w the EAR's as

1)If EAR1 is available then deploy EAR2 after EAR1 is deployed.
2)If EAR1 is not available then just deploy EAR2.

Please let me know how this can be done using jboss deployment descriptor xml's

Thanks & Regards
Peter Johnson
Posts: 5852
Android Eclipse IDE Ubuntu
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic