Chuck,

Building on your idea on using webapps/production#1.0 as a versioning scheme
and keeping each application version as a separate context, would the
associated <Context> be called "production_1.0"?  After more thought, I
agree keeping separate contexts.  This approach could keep the context in
synch with a Source Control Release Tag.

I will use the filter approach to redirect clients to the appropriate
release.  This situation may happen rarely where you may have multiple
production releases based on a new release candidate or a specific client
need, but to avoid confusion would it be better to let Source Control Tags
define the <Context> or do you recommend a better versioning scheme for the
same environment?  As you mentioned earlier, I certainly agree with you in
NOT developing a confusing maintenance nightmare.

I have all these thoughts now because I'm starting a new application now and
want to design it correctly from the beginning since it will be a foundation
for additional modules.  Thanks again for your valuable input.

Brandon


behofmann wrote:
> 
> I'm creating a web application where I want to define each region
> (Development, User Acceptance Testing, and Production) as separate
> contexts.  Ultimately, clients will use
> www.mycompany.com/production/index.jsp to access my web application.
> 
> While designing this application, I would like the ability to serve
> multiple application versions within the same context.  This would allow
> me the flexibility to control access to a new release.  Is there a way
> within Tomcat to manage multiple applications within the same context
> allowing me to direct Company A to
> www.mycompany.com/production/1.0/index.jsp and Company B to
> www.mycompany.com/production/1.1/index.jsp?
> 
> I was thinking of creating this functionality through a database using the
> usersession to determine which application version to serve.  I've read
> Tomcat documentation and haven't found a definite answer, but I'm
> relatively new to configuring Tomcat 6.0.18.  I don't want to recreate
> this functionality if Tomcat already has it available.
> 
> Thank you in advance for your help.
> 
> Brandon
> 

-- 
View this message in context: 
http://www.nabble.com/Serving-Multiple-Application-Versions-within-the-same-Context-tp22715207p22728123.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to