This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Are spring beans thread-safe?
BMP with DAO
Listener instances
Clean Code A Handbook of Agile Software Craftsmanship - Meaningful Names
Threading in containers