This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Multiple Seam wars inside the same ear 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 » Frameworks » Other Application Frameworks
Bookmark "Multiple Seam wars inside the same ear" Watch "Multiple Seam wars inside the same ear" New topic
Author

Multiple Seam wars inside the same ear

Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
Dan, I've been wondering about this for a little while and have not found a good answer to the questions of how or if it's even possible to do multiple Seam war apps inside of the same ear.

I know if you just dump the standard seam-gen web.xml into two wars then the Seam startup complains (warnings) that it was started twice and should only be done once. What is the best to accomplish this?
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
I have to be honest with you that while I have followed that discussion, I have not had the inclination to sit down and try to solve it. The magic, of course, is in the packaging. EAR packaging is a pain, which is why I always default to using WAR. But obviously, if you need the interaction between web apps, then EAR is what you need.

He is probably totally overloaded, but the man for this job is Jay Balunas. He is the interop and packaging guru of Seam and if it can be done, he can figure it out.
[ August 07, 2008: Message edited by: Dan Allen ]

Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
Does he listen to the SeamFramework.org forum or would an email be better?
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Does he listen to the SeamFramework.org forum or would an email be better?


I'd go with an e-mail, stating that you would be interested in seeing the intructions for putting to Seam WAR files in the same EAR in the reference documentation. Seems reasonable to have in there.
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
It appears this is an outstanding documentation and example issue that Jay has filed for himself to get fixed before the Seam 2.1 release.

JBSEAM-3119
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
Yeah, I emailed him and he said he hasn't had time to get around to it just yet.
 
Consider Paul's rocket mass heater.
 
subject: Multiple Seam wars inside the same ear
 
Similar Threads
log4j: Is there possibility of the crash with two different wars writing to the same log file
PAcking multiple WARs inside EAR
can we give patches(bug fixes) without building the entire web project
war in ear file
how to share web resources(html,jsp,classes in WEB-INF/classes) ascoss wars in a single ear