• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

ejb passivate

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i just deployed AdviceBean.,
when will i get to see "ejb passivate" message ?
and how can i make passivation faster in j2ee server?
Thanks
Rafay
 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Like, maybe never! The container won't call it because it's been deployed as a stateless session bean. Remember, we implement session bean (not stateless session bean, or stateful session bean), so we must implement all methods, whether they are going to be called or not. Maybe you can deploy as a stateful bean and see what happens. Let us know.
--Dale--
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even if AdviceBean were stateful, it's up to the Container (by using its caching algorithm) to decide when to passivate. So, the bean provider does not have to do anything.
 
reply
    Bookmark Topic Watch Topic
  • New Topic