Two Laptop Bag
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
Register / Login


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

ear with multiple war and jar

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 57
Hi,

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

Thanks...
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 922
    
    2

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).


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ear with multiple war and jar
 
Similar Threads
can we give patches(bug fixes) without building the entire web project
common tasks in multiple build files
maven: the war directory structure
EARs, logging and dependant jar files
How to deploy and run EJB 3? (Both Bean and client)