How to make a java program acceseble from other programs
Posted on 2002-03-04
In C++ it is possible to make at .DLL file and register it as at service. When registered the service runs at OS startup, and one can connect to it and call the public methods in the program from e.g ASP source code.
I would like to do the same thing with at Java program, and connect to its public methods from both ASP and JSP source code. The program contains a datastructure and the public methods put(key, value) and get(key). I use multithreading and need to keep the datastructure in the RAM, not on the hard disk.
How do I make such a program available to other webprograms(what environmental wrapping should it have)?