This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • 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 ..
thanks
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!