tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Lee <harpsn...@yahoo.de>
Subject Re: Multiple webapps using one war file
Date Fri, 24 Feb 2006 11:44:27 GMT
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, becouse:

1) It's quite hard to implement clean.
2) You can't separate the logic later.

If it's really so, that you only have different DB's, just use only one 
App and some sort of parameter, to choose the right DB in each case. It
have to be quite easy with Hibernate.

Cheers,
Danny


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


Mime
View raw message