Hi,
I am not sure if this is the right forum to ask this question, because it is related to JDBC/RMI/Core Java/ Swing.
Following is the problem.
In my application I need to get the connection remotely. I have web application and client application. client application is downloaded using the
java web start/JNLP from the web server.
The client application also needs the database connection and do some operation on the database which is at web server.
I am planning to get connection remotely in this scenario so that i dont have to keep the
JDBC URL information at client side.
I tried to get the connection remotely but go confused while implementing the RMI server interface of what to return and how i can get the registry setup only once and get the database connection each time i call the remote method.
Please help me out with this problem.
Regards,
Anant