• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to see at leat one instance of stateless session bean stays in the pool

 
minnu chand
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a stateless session bean which has a reference to a singleton class. This singleton class has a hashtable which
contains the references to different to objects. I want this singleton class has to remain always available. The main problem
is when the container has problem with the resources it will be going to call ejbRemove() method of that particular bean which inturn removes the ejb from the container and the bean gets garbage collected so I will be going to lost the reference to that singleton class. Is there any possibility of specifying in the "min beans" in the container using deployment descriptor.
minnuchand
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!