||Advanced Configuration of the Spring MVC Framework|
|Subject:||Additional way to configure|
Thank you for your great article - it's very useful and it was real pleasure for me to readit.
I'd just like to note that there could be another way to configure web application. This is approach I've used and it worked find for me.
Actually, this is combination of property placeholder and ContextLoaderListener.
The project I'm worked on included several web servers which may be added dynamically. Including all possible configuration files in war or building war file for every deployment was not acceptable option due some project' requirements.
Briefly, I've used the following scheme:
That's all - such a solution allowed me to have single .war file for arbitrary server, but have ability to convigure them individually.
If someone is interested in details, I'll be glad to provide sample code.
I hope my solution could be helpful
Additional way to configure - SAMPLE
2006-03-24 07:55:09 Andrew_Sazonov [View]