aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Number of EJB Home Instances Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Number of EJB Home Instances" Watch "Number of EJB Home Instances" New topic
Author

Number of EJB Home Instances

Vishal Vohra
Greenhorn

Joined: Jun 03, 2008
Posts: 8
Hello,

I have read in some books that only single instance of EJBHome is created irrespective of the number of clients accesing the Session or Entity beans.
Is it true and if this is so what will be its implications when multiple threads want to access the bean. I mean will it be thread safe?
Secondly, does it really need to be thread safe as there will be always unique instances of EJBObject and their corresponding Beans for these EJBHme instances.
 
wood burning stoves
 
subject: Number of EJB Home Instances