Sep 7th, 2007, 10:55 AM
Dynamically changing jdbc settings
I have a server and client application. Client is done in swing, and I use spring RMI to access the service methods on the server.
I'd like to redesign my server application so that when we deploy the application on different sites, I donít have reverse engineer domain objects, or copy the entire server per site. This would cause huge management problems when we need to implement a simple change.
The project needs to have JDBC libraries set dynamically based on not only what company the project is deployed at but also what user logs into the client (so the client app will dictate which libraries need to be included). A single server running at the client site on a single machine needs to handle different companies. I guess my question is, what is the best way to change the JDBC url while the server is up and running?
Any help would be appreciated. Thanks.