[nbusers] Re: EAR with multiple WARs but single web.xml

  • From: Daoud Abdelmonem Faleh < >
  • To:
  • Subject: [nbusers] Re: EAR with multiple WARs but single web.xml
  • Date: Wed, 29 Feb 2012 18:28:58 +0100
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.180.103.35 as permitted sender) smtp.mail= ; dkim=pass header.i=

web fragments in Servlet spec 3.0?

On Wed, Feb 29, 2012 at 6:17 PM, Grover Blue 
< >
 wrote:
> Hi, I have a question about how to include more than one WAR in an EAR
> project.  This is my scenario.
>
> I have the following EAR probjects:
>
> Client-01-EAR
> ... CommonWeb.WAR
> ... Client-01-EJB.jar
> ... lib/*.jar
>
> Client-02-EAR
> ... CommonWeb.WAR
> ... Client-02-EJB.jar
> ... lib/*.jar
>
>
> There are two problems I'm running into.
>
> First, I can't deploy both Client-01-EAR and Client-02-EAR to the same
> server because the ContextRoot defined in CommonWeb.WAR conflicts with
> itself between both EAR projects.
>
> Second, I'd like to add additional JSF pages, servlets, managed beans, etc,
> to either of the Client EAR projects, but not include them in the CommonWeb
> WAR.  In order words, I'd like a secondary WAR for either client, but simply
> extend the web.xml and faces-config.xml in CommonWeb.WAR with it's
> additional config.
>
> Is any of this possible?


[nbusers] EAR with multiple WARs but single web.xml

Grover Blue 02/29/2012

[nbusers] Re: EAR with multiple WARs but single web.xml

Daoud Abdelmonem Faleh 02/29/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close