aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Preventing Passivation of statefull bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Preventing Passivation of statefull bean " Watch "Preventing Passivation of statefull bean " New topic
Author

Preventing Passivation of statefull bean

Bhavik patel
Ranch Hand

Joined: Feb 20, 2007
Posts: 49
Hello to all of you,
My question is, How to prevent passivation of statefull bean?
I am using JBOSS as EJB container.
Thanks in advance.


Bhavik Patel
Glassfish Consultancy service At http://www.jmatrix.in
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

There are some ways to configure the criteria the server will use to perform passivation (such as the idle timeout value). Sorry, I don't remember how to do that in JBoss. Going off on a tangent, any chance you could use stateless session beans? Stateful ones are not that common these days due to numerous performance and maintenance issues.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Preventing Passivation of statefull bean
 
Similar Threads
passivate and activate is must for statefullsession bean
passivate and activate is must for statefullsession bean
Statefull sessions beans are pooled as well!
Statful Session bean and its life
What is saved during EJB Passivation?