Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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
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!