• 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