I have two programs I need to integrate. One is a Microsoft Access program. The other is a Java program. No flexibility on choice of platform for either one here, these are existing complex programs.
The Access program needs at some point to spit out one line of text which the Java program knows how to convert into a code (another line of text), and receive that code back. The Java program is simply a command line app, packaged as a jar, that takes in the one bit of text and spits out the other.
What is the simplest way to do this?
I take it Access can't do system calls directly because of security concerns, unless I'm missing something? Previously the conversion utility was packaged as a DLL and called through OLE. I can package the jar file as a DLL, but that seems roundabout. Is that the best I can do?
(If there is another similar question, just point me at it. In search results for Java and Access people tend usually to be doing the opposite: accessing an Access database through Java).