Discussions

EJB design: Interrupt a running EJB bean instance

  1. Interrupt a running EJB bean instance (1 messages)

    I need such a stateless session bean:
      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?

      Thank you
  2. Interrupt a running EJB bean instance[ Go to top ]

    You can't!