This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in entity bean pool

 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
when a entity bean is passivated the associated data is stripped off and i guess the same happens to its kin Entitycontext object.And some other data is loaded into that bean instance.
when the old client comes again and wants to continue from where it has left
we use the Entitycontexts getPrimaryKey() in ejbLoad() to load its data to some other available enity bean instance.where does this Entitycontext comes from.Howcome the context object maintaines the primary key when the actual bean itself gone.
please clarify me.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!