• Post Reply Bookmark Topic Watch Topic
  • New Topic

CMP bean  RSS feed

 
sitaram irrinki
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In CMP bean, which method executes only once in life time
(a) setEntityContext()
(b) create()
(c) remove()
(d) find()
 
Choopong Songcharoenkij
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
only (a) setEntityContext
after completing this method a bean instance goes to the pooled state.

for the detail, u should review the life cycle of CMP-Bean.
see the EJB Specification.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!