--> Starting and Stopping Applications in Servlets: Re: Threads of Control

2002-12-09 Thread micael
At 05:17 PM 12/8/2002 -0800, you wrote: Can a servlet start an application on a server which is available to a user on the server machine? Something, i.e., like the following: import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class AppCtrl extend

RE: Threads of Control

2002-12-08 Thread Jeremy Joslin
U e...sure you could do that but you should ask yourself "is this the right thing to do?" If the sample code you provided is similar to what you're trying to implement I would recommend that you right your own Runnable object and control it's lifetime using a ServeltContextListener object.