• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to force passivation on stateful bean?

 
Greenhorn
Posts: 10
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.
Could you please explain me how to force passivation using annotations or using ejb-jar.xml. I know there is a way to use glassfish-ejb-jar.xml if I'm using a Glassfish container.
@StatefulTimeout force container to make bean ilegible for removal. Is there is any similar annotation to make bean ilegibal for passivation?
 
Creator of Enthuware JWS+ V6
Posts: 3285
296
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, there is no way to force passivation (by the EJB-specs). It is up to the EJB-container developers to decide under what condition passivation occurs.
 
Ivan Pyshko
Greenhorn
Posts: 10
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
@StatefulTimeout annotation makes me fill like there is something for passivation as well -)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!