This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Preventing Passivation of statefull bean " Watch "Preventing Passivation of statefull bean " New topic

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
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710

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
GeeCON Prague 2014
subject: Preventing Passivation of statefull bean