• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbhandle  RSS feed

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 ..
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!