A single ear containing the EJB jar and the two wars
should work for you. An application.xml will look
something like this:

<application>
  <display-name>My App</display-name>
<module>
  <web>
      <web-uri>war1.war</web-uri>
      <context-root>/war1</context-root>
  </web>
  <web>
      <web-uri>war2.war</web-uri>
      <context-root>/war2</context-root>
  </web>
  </module>
        <module>
                <java>myejb.jar</java>
        </module>
</application>


//Nicholas


--- Brian Styles <[EMAIL PROTECTED]>
wrote:
> Hi all,
> 
> I am trying to deploy two different wars that both
> use the same ejb jar.
> 
> a) Is this possible
> 
> b) How do you go about the deployment?
> 
> currently I'm deploying the ejb jar file in an ear
> with the war.
> 
> thanks for any help,
> Brian
> 
>
_________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months
> FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux
> Tutorials.
> Become an expert in LINUX or just sharpen your
> skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the
> bash shell to sys admin.
> Click now!
>
http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
[EMAIL PROTECTED]
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to