• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passivating Entity Bean in J2EE RI

 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Has anyone tried such a thing? Any ideas how this can be done??
 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic