Is there a way to write a java program which can use a class running in another program?
Here is what I'm trying to do:
I have a program that opens a connection to a database and manages the various connections. I cannot modify the program, but I know the various classes and functions that run within the program.
I want to write a program that can send sql statements through the open connection in the previous program and receive the results.
Is this possible? I know the other program will not attempt to use the connections while the other program is running.
Thanks for the help!