Re: How to store configuration outside the database?

2016-11-06 Thread Ed
Save file on server, in the same path as class files. Perhaps a xml file. The point the server startup to read the configuration. On Sun, Nov 6, 2016 at 6:48 PM, Thomas Broyer wrote: > Externalize into a JNDI Resource? https://tomcat.apache.org/ >

How to store configuration outside the database?

2016-11-06 Thread Thomas Broyer
Externalize into a JNDI Resource? https://tomcat.apache.org/tomcat-8.0-doc/jndi-resources-howto.html#JDBC_Data_Sources -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: How to store configuration outside the database?

2016-11-06 Thread Jens
I guess the simplest solution would be a command line system property that points to a java properties file, e.g. -DappConfig=/etc/app.properties . -- J. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop

How to store configuration outside the database?

2016-11-06 Thread Magnus
Hello, my app is based on a database and stores everything there. But I would like to let the admin specify the database connection settings (host, port, user, password). It's clear that this information should not be stored in a database. Where can I store it in a Tomcat-based environment?