Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

What are the call back methods in EJB

 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the call back methods in EJB like ejbLoad,ejbStore,ejbActivate and ejbPassivate()...any more??? and which are they.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're talking about the lifecycle methods the container is invoking on your EJB object, they are:
ejbLoad()
ejbStore()
ejbActivate()
ejbPassivate()
ejbCreateXXX()
ejbPostCreateXXX()
ejbRemove()
setXXXContext()
onMessage()
 
Mathews P Srampikal
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No....i am asking Call Back methods not life cycle methods......any way ejbCreate is not a callback method
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Mathews P Srampikal:
No....i am asking Call Back methods not life cycle methods......any way ejbCreate is not a callback method

So you're not talking about call backs made by the container but the bean? In that case, I can only think of whatever the EntityContext/SessionContext/MessageDrivenContext interfaces provide.
 
Mathews P Srampikal
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lasse......i am asking callback method.....i know ejbLoad and ejbStore,activate and passivate......means we are not calling these methods explicitly.it will be automatically called by container and container only....like what are the other methods.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there are "other" callback methods. The only callback methods mentioned in the specification are those defined in the javax.ejb.* interface classes (ejbLoad, ejbStore etc.).
 
author
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Matthews,
Apparently your definition of "call back methods" differs from the one with which I am familiar. Please help clarify your question, so that we might be able to shed some light here. I must confess that i tend to agree with Lasse...
Regards,
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic