Discussions

General J2EE: interrupting a thread

  1. interrupting a thread (2 messages)

    How do I properly stop a running thread, now that Thread.stop() has been deprecated?
    Thanks
    Puru

    Threaded Messages (2)

  2. Hope not doing in J2EE[ Go to top ]

    Thread.Interrupt()

    I hope you are not trying to stop the thread inside of a J2EE container. One excuse might be a thread that was created from the thread within the J2EE application, but that thread creation would still be against the J2EE rules.
  3. Hope not doing in J2EE[ Go to top ]

    nope, I am creating threadpool outside of j2ee container