This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 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: 42970
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!