I've got a design problem, and I am looking for possible solutions.
I have two
Java programs running on one computer. I would like to keep the programs packaged separately, but I would like to call a few select methods of each program from the other. (Program #1 calls Mehtods A, B, and C from Program #2, while Program #2 calls methods D, E, and F from Program #1.)
I know there is an official Java package to communicate over a network, but that might be a little overkill, since both programs are running on the same computer. I don't think JINI would be appropriate either, because all my methods calls will be in Java. Niether would RMI be appropriate, because I'm using the same virtual machine. Any suggestions? Do I need something home grown here? This may be so simple that I'm just overlooking it.
Landon