Configuring Database connection at runtime
Hi,
I am new to JDBC and urgently needs ur help.
What I want is to provide the URL (Connection String and DB info) in a config file and read that in the code. Also I should be able to change the DB location and connection string at runtime so that the next time the code executes, it takes the new connection string. I heard something about MBeans, can anyone help me in this.
Thanks in advance
Pankaj
PS: I might use JBoss or Tomcat.

