Home > DeveloperSection > Interviews > Are enterprise beans allowed to use Thread.sleep()?

Posted on    May-21-2011 8:56 AM

 Java Java 
 1 Answer(s)
  1002  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    May-21-2011 12:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick