This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How's limiting session beans instance on Glassfish server ?

 
Udara Amarasinghe
Ranch Hand
Posts: 109
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I need to configure glassfish app server to allow only 2 stateful session beans to keep in memory. How I do that?
Can it do through a deployment descriptor or can it do through the glassfish admin console?
(I need do this operation to test passivisation and activation of a stateful session bean)

thanks
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try looking at <Max_Beans-Pool> , Or similar annotation and set it to 2 , an dlet me know if this works or not .

Thanks .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic