Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!