wood burning stoves*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Thread problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Thread problem" Watch "Thread problem" New topic

Thread problem

Duy Luong

Joined: Jul 17, 2005
Posts: 6
hi all
as restriction of ejb we not recommend to create thread in ejb bean. But is it ok when you create thread in DAO layer
Duy Luong

Joined: Jul 17, 2005
Posts: 6
oooh yeah!!! nobody can answer my question
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
No. The DAO is effectively part of the EJB.

SCJP 1.4, SCWCD 1.3, SCBCD 1.3
It is sorta covered in the JavaRanch Style Guide.
subject: Thread problem
Similar Threads
Regarding Thread in EJB
EJB listening on a client socket for callbacks
Thread problem
ejbCreate() throws CreateException
Two WAR files that have common jars to one EAR - Issue