File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Number of EJB Home Instances

 
Vishal Vohra
Greenhorn
Posts: 8
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic