File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 3704
    
    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
 
wood burning stoves
 
subject: Preventing Passivation of statefull bean