aspose file tools*
The moose likes JBoss/WildFly and the fly likes Defining deployment dependency b/w EAR and ordering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Defining deployment dependency b/w EAR and ordering" Watch "Defining deployment dependency b/w EAR and ordering" New topic
Author

Defining deployment dependency b/w EAR and ordering

bunty lava
Greenhorn

Joined: Mar 19, 2013
Posts: 2
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
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

This should help: https://community.jboss.org/wiki/HowToOrderJBossASDeploymentsByDefiningCustomDependencies


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Defining deployment dependency b/w EAR and ordering