Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passivation

 
Claudio Malso
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this option correct about Passivation ?
"The instance fields are serialized and held with the EJBObject"
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How the container performs passivation is a business decision of the container implementor. The spec just calls out what a beans life cycle should be when the container does it.
I doubt the ejbObject will hold any data from an old instance. IMO, the ejbObject will be a recycled object or will be garbage collected at passivation of its bean.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic