• Post Reply Bookmark Topic Watch Topic
  • New Topic

Preventing Passivation of statefull bean  RSS feed

 
Bhavik patel
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Scott Selikoff
author
Bartender
Posts: 4081
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!