Hi,
I know that "onw"
thread management is restricted for good reason in the
EJB specification (EJB 2.1, 25.1.2):
----------extract from spec.---------
The enterprise bean must not attempt to manage threads. The enterprise bean must not attempt
to start, stop, suspend, or resume a thread, or to change a thread�s priority or name. The enterprise
bean must not attempt to manage thread groups.
These functions are reserved for the EJB container. Allowing the enterprise bean to manage threads
would decrease the container�s ability to properly manage the runtime environment.
----------end extract from spec.---------
Now comes my qustions, I don't find a similar part in the
servlet specification.
Am I missing something, or to be more detailed, is it allowed to create an own thread there?
E.g. for scheduling purposes?
Are there any particular risks or disadvantages of creating such a thread in a servlet?
Any help (hint) is really appreciated.
Thnaks in advance.
Regards, Michel