> I have a GWT web application that I run on multiple Tomcat servers. It
> happens to need some configuration, such as database username and
> password, initialization data, etc. I would like to put all this info
> in a configuration file, but, I where should I put the file so that my
> application
The simple way that I recommend use jndi resuorces. Then you must configure
each server access to database. In your source code you doesn't need the
information to access to database or other resources. Is the standard form.
If your architecture is more complex you can define a custom resource that
Erel
On 5/5/2011 10:03 AM, Erel Segal wrote:
I have a GWT web application that I run on multiple Tomcat servers. It
happens to need some configuration, such as database username and
password, initialization data, etc. I would like to put all this info
in a configuration file, but, I where should
The simple way that I recommend use
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html. Then you
must configure each server access to database. In your source code you
doesn't need the information to access to database or other resources. Is
the standard form. If your architecture is
I have a GWT web application that I run on multiple Tomcat servers. It
happens to need some configuration, such as database username and
password, initialization data, etc. I would like to put all this info
in a configuration file, but, I where should I put the file so that my
application will find