The Artima Developer Community
Sponsored Link

Java Answers Forum
Managing customer configurations

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Langford

Posts: 2
Nickname: slangford
Registered: May, 2003

Managing customer configurations Posted: Jan 13, 2006 4:06 AM
Reply to this message Reply
Advertisement
We have a large web-based application which is developed as a product, but which we deliver to many customers simultaneously and are unsure how to manage customer configurations.

When I say configurations, I mean different graphics on the pages, maybe different JSPs, sometimes different configuration files.

On our thick client applications this was just a matter of placing customer overrides earlier on the classpath than the product resources, thus allowing us to leave the JRE to handle it for us.

However, in a web environment, JSPs are not loaded off the classpath. We have our development environment setup to develop in an exploded web application, classes are compiled to WEB-INF/classes and all JSPs are edited in-place, and we point the Context in Tomcat to the local directory. This is an environment which works well and so we don't want to lose it.

The most obvious fix would be to have a customer override directory which the build uses as an override when building the WAR, but this adds overhead to our development environment.
The only other solution we have had is to modify the components in the Context in Tomcat to allow an override area to be specified (I have successfully written drop in extensions of the StandardContext & FileDirContext, which do work), but this doesn't seem to be a very elegant solution.

Does anyone else have a possible solution to what must be a very common problem?

Topic: Parting Thought Previous Topic   Next Topic Topic: Database manipulation

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use