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 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LifeCycle of a Bean  RSS feed

 
srija srija
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

ejbCreate
Set Session context
constructor

what is sequence of these methods invocation for stateless session,stateful session,entity bean life cycles?

Thanks,
Srija
 
Janhavi Namshikar
Ranch Hand
Posts: 85
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lifecycle of Entity bean (BMP)

newInstance()
setEntityContext()
ejbHome()
ejbCreate()/ejbPostCreate()

Not very sure of session beans.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!