tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Multiple war files for the same application context.
Date Mon, 16 Nov 2009 20:38:54 GMT
On 16/11/2009 19:25, Ziggy wrote:
>> Are you trying to deploy elements of a larger applications separately?
> Yes that is exactly what i am trying to do.

You can deploy so-called 'multilevel' apps, if you want to separate out 
(somewhat) independant components - which may make build & deploy cycles 
easier, for example, as you don't have to replace and test the whole app.

The '#' hash character is used like so:

  myapp.war
  myapp#news.war
  myapp#admin.war

  /myapp/
  /myapp/news/
  /myapp/admin/


p


> I did consider the separate jar file option but i couldnt figure out a way
> of including the jsp files in a jar file.
>
> I basically have a large struts/Tiles based application and would like to
> separate the deployment of each individual module of the application. I want
> to try and avoid having to redeploy the whole application everytime there is
> a change.
>
>
> On Mon, Nov 16, 2009 at 7:10 PM, Joseph Morgan<
> joseph.morgan@ignitesales.com>  wrote:
>
>> Are you trying to deploy elements of a larger applications separately?
>>
>> It seems you just need different JAR files for the application, and,
>> though those can be deployed to the same web app separately, you're not
>> really gaining anything, since the app will have to be restarted anyway,
>> and you might as well stick with the WAR file.
>>
>> Joe
>>
>> -----Original Message-----
>> From: Ziggy [mailto:ziggy25@gmail.com]
>> Sent: Monday, November 16, 2009 12:35 PM
>> To: Tomcat Users List
>> Subject: Multiple war files for the same application context.
>>
>> Hi guys,
>>
>> Is it possible to deploy multiple war files for the same application?
>> for
>> example if i have an application that is accessed via http:///
>> www.test.com/myapp, i would usually have a single war file called
>> myapp.war
>> and deploy everthing in that one file.
>>
>> is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc
>> and
>> have them all be as part of the one "myapp" application?
>>
>> Any links or tutorials on how to do this would be very helpfull. And
>> what is
>> the term used for this kind of deployment?
>>
>> Thanks
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message