Call a main method from within a running program
Hi, I'm trying to find out the best way to call a main method from within a running program. Both programs are written in Java.
I've got a Java IDL server up and registered, and what I'd like to do is either call another main method (which starts a GUI) from within the server's main method or create a kind of startup method within my IDL implementation that will remotely start the GUI.
In either case, I need to know the easiest way to kick off the other main method and how I can communicate between each of the processes.