Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Advice needed on best way of persisting and changing web.xml valuesfor service continuity

Reply
Thread Tools

Advice needed on best way of persisting and changing web.xml valuesfor service continuity

 
 
milesd
Guest
Posts: n/a
 
      03-04-2008
Hello, I am currently refactoring a Java servlet/JSP based website
which has no concept of failing over to different databases or search
servers. The "live servers" are specified in tomcat web.xml and are
visible as part of servlet context.

I would like to implement a secure way of manually changing the live
servers to alternative servers which will allow for continuity. I had
thought of the following:

Specify the alternative servers in web.xml. Persist them in a
stateful bean. Let the user access the bean and "flip a switch" which
will allow the alternate server to be selected.

The only issue with this approach is that there are six separate
applications each with an individual web.xml

I would prefer to use a framework such as hibernate or spring to
develop the "flip a switch" functionality.

I have never developed this type of thing and would appreciate some
advice on developing this easily without over complicating things.

thanks

Miles.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice Needed: Best way to use Maven (w. Eclipse/Struts/Spring/Hibernate/svn/ant) etienno Java 0 12-13-2006 10:15 AM
internet connection continuity issue wayne eckstein Computer Support 1 05-24-2005 06:46 PM
Return of Jedi DVD continuity query... mark rogers DVD Video 21 02-24-2005 02:57 PM
std::vector continuity Lynn C++ 2 12-14-2004 11:05 AM
"Business Continuity" Geoff Howard Computer Security 0 10-12-2004 12:45 PM



Advertisments