Re: Multiple webapps using one war file

2006-02-24 Thread Danny Lee
I have the same situation as you, right now working on admin interface, which actually does a lot of same stuff as a web app (most of the Hibernate stuff / persistance manager classes/ lot of business logic). But after lot of thinking, I supose it's not a good idea to share the stuff, becous

Re: Multiple webapps using one war file

2006-02-24 Thread David Delbecq
While it is possible to put some of the librarie out of .war, inside common, you must be aware of side effects. Libraries like struts are not designed to run multiple context within a given classloader (The servelt, for example, can only be instanciated once). I don't know for Hibernate and for et

Multiple webapps using one war file

2006-02-24 Thread Mikolaj Rydzewski
Hello, I've got rather complex web application (struts, hibernate, etc) which runs on Tomcat. There is a need to deploy this webapp for various customers. The only difference between them is the database they connect to, well, almost the only one ;-) Is there any way to reuse one war file an