EJB design: Interrupt a running EJB bean instance
I need such a stateless session bean:
- Posted by: Di He
- Posted on: February 08 2002 17:46 EST
At the beginning, I send a "start" command to EJB server, and EJB server creates an instance of the bean and the instance start to do a long process. After a while, I may want to stop that process, which means, I want to send a "stop" command to that instance to stop it, in other words, I want to interrupt that instance. How can I send the "stop" command to the running instance?