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

Reply via email to