• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbobject doubt  RSS feed

 
Prashant Vasudeo
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one doubt about EjbHandle.
EjbHandle are handles to ejbObjects.There are also ejbhandle to EjbHome object.
when we are using the stateful sesion bean . If I want to get the same bean instance. I have to use ejbhandle of ejbobject to get the same.
My question is is there is one-to-one mapping between ejbobject and bean instance..i mean to say that is ejbobject is permanently attached to bean instance.
I think what i said is wrong , as there is ejbpassivation and ejbactivation methods in which case different bean instance will attached to ejbObject.
I want to know what the handle means.. is that handle is a reference to bean instance.
I know that I am contradicting my self.
please help ..
thanks
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prashant G,
We don't have many rules at Javaranch, but our display name policy is one of them. Please read this policy and change your display name to comply with it if you wish to continue posting. Thanks.
You can change your display name here.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!