Re: Thread Question

Endre Stølsvik <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <Pine.LNX.4.44.0405191543010.28262-100000@excalibur.intra.coretrek.com>
On Tue, 18 May 2004, Zerbe John W wrote:

| With the introduction of EJB 2.0 Message Driven Beans, you no longer
| need to start and manage your own threads to do asynchronous processing.

J2EE sucks.

I use tons of Threads in my Serlvet environ.. Well, 20-30 workers..

If you know what you're doing, then you're ok. If you don't, then stick to
the stuff that will actually clean up after you..

|
| While the answer to the original question is "yes", the recommendation
| is no. By creating your own threads, you're making the container's job
| more difficult, especially if you are using container managed resources
| from those threads.

Thou shalt not start Threads within the EJB Container, while starting
Threads within the Servlet Container -is- OK, while maybe not encouraged!

Endre.

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.