U can do it in two ways.
First approach
1) You can keep that string as an entry in I18N mechanism. I hope you
know hw to use I18N in GWT. There you can find properties file.
But you should remember that if you place that entry in this
properties file. If you change the entry values then you have
Put your connection and connection pooling info in your web.xml, or
depending on your container, you can put the connection information in
a conf file that can be modified separately from your war deployment.
On Fri, Sep 11, 2009 at 2:58 PM, Benjamin bsaut...@gmail.com wrote:
Hey guys - this
Hey guys - this has been driving me nuts all day. Should be simple.
My GWT project works with data on a SQL server and I use the MS SQL
jdbc drivers. I want to keep my connection string in a configuration
file instead of hardcoded in the java. (in my old .net days i would
use the web.config)
1