• Post Reply Bookmark Topic Watch Topic
  • New Topic

How many instances of a EJBHome are there?

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!