Friday, March 13, 2009

Are enterprise beans allowed to use Thread.sleep()? (EJB)

Question :Are enterprise beans allowed to use Thread.sleep()? (EJB)
Answer :Enterprise beans make use of the services provided by the EJB container,
such as life-cycle management. To avoid conflicts with these services,
enterprise beans are restricted from performing certain operations:
Managing or synchronizing threads

No comments: