Re: Running a Java Program
| From: | Ray Hauge | Date: | Fri, 27 Oct 2006 00:38:31 +0000 |
| Subject: | Re: Running a Java Program | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243716@lists.php.net to get a copy of this message | ||
On Thursday 26 October 2006 7:28 pm, Prathaban Mookiah wrote:
> Ray,
>
> Nope - I cannot have the program running all the time because the port that
> it this program will connect to will be accessed by other programs too. So
> it needs to run only when the user is online and logged into the system.
>
> Any ideas?
>
> Prathap
>
I kind of mentioned it before, but what about making the java program a
service? Then you could exec()/shell_exec() "net start" or "net stop" as
needed. Beyond that I don't have any ideas without checking Google.
--
Ray Hauge
Application Development Lead
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099