AlistairMonkeyFinger
Programmer
Hiya,
I've been looking at some work on a legacy system, currently there are some C++ executables on a Linux server and a Jave GUI on a NT desktop talks to them by creating a JDBC connection to a Oracle database on the Linux box then calling the external functions from within the database using pipetalk protocols. I've found that this is very flaky but i still need to talk to the c++ files because they are using third party libraries to do stuff.
So, i need some advice about how to move this into more of a java world.
Ideas:
Use create a class using JNI to communicate with the C++ exe's
Then either run a apps server (JBoss /Orion) etc on the Linux box and set up some EJB's(would rather not do this becuase it seems overkill)
OR
Can i access the JNI class i have created using something like RMI (i'm afraid i have no direct experience of RMI) or set up a TCP server and client (we running entirely within an internal intranet) - i guess this would be easier / use less resource.
Ideas / comments ? Glad to hear anything you have to say.
Thanks
Alistair
I've been looking at some work on a legacy system, currently there are some C++ executables on a Linux server and a Jave GUI on a NT desktop talks to them by creating a JDBC connection to a Oracle database on the Linux box then calling the external functions from within the database using pipetalk protocols. I've found that this is very flaky but i still need to talk to the c++ files because they are using third party libraries to do stuff.
So, i need some advice about how to move this into more of a java world.
Ideas:
Use create a class using JNI to communicate with the C++ exe's
Then either run a apps server (JBoss /Orion) etc on the Linux box and set up some EJB's(would rather not do this becuase it seems overkill)
OR
Can i access the JNI class i have created using something like RMI (i'm afraid i have no direct experience of RMI) or set up a TCP server and client (we running entirely within an internal intranet) - i guess this would be easier / use less resource.
Ideas / comments ? Glad to hear anything you have to say.
Thanks
Alistair