File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes updating web app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "updating web app" Watch "updating web app" New topic

updating web app

Niklas Rosencrantz
Ranch Hand

Joined: Apr 08, 2006
Posts: 49
Dear guys,
I've added features and fixes to my web app which works well in the development environment, want to deploy it to production environment where users are logged on, have planned like this and would like to know if this could be a well-working strategy: When I update the web archive and deploy a new version to the app server (Tomcat 5.5) I set it to /context2 so everything still works normal from the usual /context1?
When the new tests work you deploy again and replace /context1, or change the links from / so everything points to /context2 and next deployment you replace /context1 accordingly. This way you'd be able to test the new verison once more in production environemnt with not logging off all users.
Thank you
Niklas R

[ April 16, 2008: Message edited by: Niklas Rosencrantz ]
[ April 16, 2008: Message edited by: Niklas Rosencrantz ]
I agree. Here's the link:
subject: updating web app
jQuery in Action, 3rd edition