This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes ear with multiple war and jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ear with multiple war and jar" Watch "ear with multiple war and jar" New topic

ear with multiple war and jar

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60

Can some one tell me how to create one ear project with multiple war and jar files. As an example I have a inventory handling enterprise application and i need to develop it by using several war and jar projects such as orders.war,orders.jar, transfers.war,transfers.jar, payments.war,payments.jar ...etc. How can we build links between jsp pages in two different war projects in the same ear project. please help me to build eclipse project for this scenario

Ranganathan Kaliyur Mannar

Joined: Oct 16, 2003
Posts: 1097

Multiple wars in an ear doesn't require any special consideration. It is considered standard packaging. Inspect your application.xml and add web modules.
I would suggest you go through this post to understand the problems/restrictions when having multiple war(s).

I agree. Here's the link:
subject: ear with multiple war and jar