Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in entity bean pool  RSS feed

 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!