Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

what is the common practice to deploy a fix in J2EE

Thread view: 
s o - 09 Aug 2006 18:39 GMT
Hi all,

let's say my web app has 10 modules and I created 10 jars(one jar for
each module) instead of 1 big jar; and the JSP's are subdivided into 10
folders.  Initially, the app is deployed as one war file.  Later, when
it's time to apply a fix that affects only one of the jars and one of
the JSP's, do you war everything and redeploy it or do you simply
replace that one jar and JSP?  what is the common/best practice?
thanks.

s o
josh.s17@gmail.com - 09 Aug 2006 22:26 GMT
The safe way would be to deploy the whole WAR. Especially if you have
an automated build process which tags your repository when you build a
WAR.

However with some app servers (eg Tomcat you could probably get by
deploying just the jar).

> Hi all,
>
[quoted text clipped - 7 lines]
>
> s o
Mike Schilling - 10 Aug 2006 01:58 GMT
> The safe way would be to deploy the whole WAR. Especially if you have
> an automated build process which tags your repository when you build a
> WAR.
>
> However with some app servers (eg Tomcat you could probably get by
> deploying just the jar).

That wouldn't be safe, though.  If the directory containing the exploded app
is ever deleted, Tomcat will re-expand the war and lose your fix.
Andrea Desole - 10 Aug 2006 08:56 GMT
> Hi all,
>
[quoted text clipped - 7 lines]
>
> s o

The solution of replacing small parts of an application are preferable
when it's more practical, for example when the application is very big
and you have to download it. This is not normally the case of a web
application. I would go for the war, it's the safer bet.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.