• Post Reply Bookmark Topic Watch Topic
  • New Topic

Instances of all beans

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plz tell me how many instances of following beans are created :
**stateless sessionbeans : I think, its number is managed by the container
**stateful session beans : i think its number is also managed by the container,but on which basis container removes these beans.
Entity Beans : I think only one instance is created.
MDB???
Plz take care,it is no. of instances ,not number of threads
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is all configured by you in your xml. So you create how many get added to the pool. The Container will determine when to passivate and also removing objects from the pool.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!