Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the Correct order of the ejb Method's?  RSS feed

 
Bidyut Padhi
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends
What is the correct sequence of calling of the following method of ejb in a container.
ejbActivate(),ejbLoad(),ejbPassivate(),ejbStore.
Dout: Is the sequence is same for BMP & CMP?
regards
Bidyut
 
Mark Donaghue
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bidyut,
I'd recommend the sequence diagrams at the end of Monson-Haefel (also available on the EJB 1.1 spec). They are well worth the effort.
Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!