This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Number of EJB Home Instances

 
Vishal Vohra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic