Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: Re: [RE: Running one application from another application]


Message #1 by Hemendra Gupta <hemendra_gupta@u...> on 12 Dec 00 09:20:44 SMT
use thread to run two programmes.. just set the priority for both the thr
eads
and sleap time. it will work.


hemendra gupta
mailid: hemendra_gupta@u...

Shriniwas Keskar <SKeskar@w...> wrote:
call the className.main() for the class that you want to call

-----Original Message-----
From: Surajit Deb [mailto:surajitdeb@o...]
Sent: Sunday, December 10, 2000 5:58 AM
To: Java Server
Subject: Running one application from another application



How do I stop and start an applcation which has its own main method from
within another application.The second application should detect whether
the first application is running , if it is running ,it should stop is
and then run it again. If it is not running it shoud just start the first

one


  Return to Index