• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Bean (Stateless bean) problem

 
Ami Ambre
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 1000 client accessing session bean. Within book they had given that only one client
can access session bean at a time regardless weather the bean is stateless?
But there is comment in the specification that the container is free to
implement stateless bean as a single instance of the bean then container run clients
thorugh one at a time.
It means can container service one instance of the stateless bean to 1000 client one at a time.
So it is time consuming because container service 1 client at a time & after
completetion of 1 client transaction it will taken other client & this process happen upto
1000 client .
so it is time consuming. How can it is scalable.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35743
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not have a pool of stateless session beans?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!