• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Passivating Entity Bean in J2EE RI

 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying some sample Entity bean with the J2EE RI and I have deployed the bean successfully.

Now I want to try a few things within ejbActivate and ejbPassivate methods, but, the problem is that the bean is not getting passivated at all. Is it possible to specify some sort of timeout period for passivating the bean? Is there any other way the bean can be passivated?
 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anyone tried such a thing? Any ideas how this can be done??
 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, it is possible to specify the number of beans that will remain in activattion at any given time and after which the beans are swapped in and out.But this is not a J2EE mandate.

Since RI is only only reference Implementation..i think it wont have this feature

But if it is...a feature..check your server Tools..Ejb Tab..it should give you the option
 
reply
    Bookmark Topic Watch Topic
  • New Topic