aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes How's limiting session beans instance on Glassfish server ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How Watch "How New topic
Author

How's limiting session beans instance on Glassfish server ?

Udara Amarasinghe
Ranch Hand

Joined: Aug 17, 2009
Posts: 109

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

Joined: Apr 18, 2009
Posts: 2234

Try looking at <Max_Beans-Pool> , Or similar annotation and set it to 2 , an dlet me know if this works or not .

Thanks .


Save India From Corruption - Anna Hazare.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How's limiting session beans instance on Glassfish server ?