permaculture playing cards*
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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Number of EJB Home Instances
 
Similar Threads
BMP with DAO
Listener instances
Clean Code A Handbook of Agile Software Craftsmanship - Meaningful Names
Threading in containers
Are spring beans thread-safe?