On Tue, 22 Feb 2005 17:09:55 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

> I have the following scenario in my web app:
> I have three servlets that retrieve data from database using a sort of 
> castor-wrapper jar (I've created it).
> I'm interested what is the correct place to put these files:
> * where to put castor JAR (probably $CATALINA_HOME/common/lib)?
> * where to put my castor-wrapper JAR?  again tomcat's common/lib???
> 
> and most of all
> 
> Where to put the propreties file (castor, commonslogging, log4j) and 
> jdo-conf.xml and mapping.xml so logging is properly intialized and jdo-conf 
> is loaded by JDO.loadConfiguration("jdo-conf.xml")?

Emir, 

Only those artifacts that Tomcat's internals need access to belong in
the $CATALINA_HOME/common/lib dir (e.g. connection pools, etc.). If
Tomcat's internals does not need access to these artifacts, then they
should be packaged up in your WAR file and deployed along with your
web app. This keeps the WAR file as self-contained as possible.

Bruce 
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to