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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How's limiting session beans instance on Glassfish server ?
 
Similar Threads
JPilot,, Java ranch exam question ID: 17
Instance pooling
HttpSession vs Session Beans
Maintaing state in Stateful Session bean
Petstore understanding WebClientControllerImpl??