Thursday, January 19, 2012

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

Java Interview Question and Java Tutorial - Part 1

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

 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:

Post a Comment