Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How many instances of a EJBHome are there?  RSS feed

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Let's take the following scenario:
-I have several instances of a bean (STSB, SLSB or entity) and the bean has got several clients
My question is:
-How many instances of the EJBObject implementation are there?
-How many instances of the EJBHome implementation are there in the container?
Thanks in advance,
Julien Martin.
 
Anselm Paulinus
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The number of instances of SLSBs as well as entity beans that are there in the container are container dependent. The container usually pools these beans and use them as the need arises. However the container creates and attaches a SFSB per client in order to ensure the conversational state of the beans is maintianed.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!