This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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