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

When should EJB container remove the EJB instances?  RSS feed

 
Alice Gong
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An enterprise app with many stateless session beans and entity beans was running on the WebSphere App server. After hundreds of concurrent user requests had been handled, the system was running idly for several hours. Should the EJB container have removed all the pooled SLSBs and Entity Beans? Looking at the heap dumps, many app objects were still in both EJB container and Web container. Is that correct or not?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that falls under the discretion of the app server; the specification does not state it one way or the other.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!