Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

ear with multiple war and jar

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
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: 1076
    
  10

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://aspose.com/file-tools
 
subject: ear with multiple war and jar
 
Similar Threads
can we give patches(bug fixes) without building the entire web project
EARs, logging and dependant jar files
How to deploy and run EJB 3? (Both Bean and client)
maven: the war directory structure
common tasks in multiple build files