View Single Post
  #1 (permalink)  
Old 07-31-2007, 04:36 AM
zoe zoe is offline
Member
 
Join Date: Jul 2007
Posts: 40
zoe is on a distinguished road
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.
Thanks
Reply With Quote
Sponsored Links