• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

ejbobject doubt  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 ..
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.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!