• 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: 5856
Android Eclipse IDE Ubuntu
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic