• 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

ejbActivate Method

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
As iam unable to understand what is the use of ejbActivate method and how this method get called. I found on books that EJB Container called this method.. can anyone please let me know in real scenario when this method called. As i also found this method always empty and if this method is empty then what is use of this.

Can any one please help me how the finder method (defined in the home interface) work . The work flow of these methods. Will the finder method calls any Entity bean callback method
 
Ranch Hand
Posts: 502
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ejActivate()

For Stateful Session Beans, container will call this method before serialization or an equivalent process.

For Entity Bean, This method is called by conatiner before bean returns to Bean Pool.

finder methods are implemented by container, you don't even mention in Bean class. You only need to mention it in Home Interface.
 
reply
    Bookmark Topic Watch Topic
  • New Topic