This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

minnu chand
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!