Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

finder methods -entity beans

 
k doshi
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
refering to the lifecyle of entity beans--find methods--
When a find method is executed , a bean will be transitioned from pool state to ready state. The bean is assigned to an EJB object and its remote reference is returned to the client.
Now in the create method, an EJB Object is created, to which the bean is assigned.
In the find method since it is following the activation process no EJB Object is created, so to which EJBObject is it assigned
thnks for the replies
kiran
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These issues are for the container developer to
worry about.
When a find request is delivered to the container
the bean may be in the ready state or it could be
sleeping in the data store. As developer you
just want the remote interface.
Create method is similar. How the container deals
with creation and reuse of EJB objects can vary
with each different container. The things that
you are concerned about with the container are
like: how much does it cost, how fast is it, how
easy is it to develop on, how buggy is it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic