IntelliJ Java IDE
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes finder methods -entity beans Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "finder methods -entity beans" Watch "finder methods -entity beans" New topic
Author

finder methods -entity beans

k doshi
Ranch Hand

Joined: Mar 16, 2002
Posts: 41
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

Joined: Feb 22, 2002
Posts: 1551
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.
 
 
subject: finder methods -entity beans
 
Threads others viewed
ejbSelect Method in CMP
Couple of questions
Why use ejbpostcreate() after that ejbcreate()
BMP Entity EJBs and create()
My SCEA Part 1Study Notes
MyEclipse, The Clear Choice