This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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
I agree. Here's the link:
subject: Thread problem
It's not a secret anymore!