Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Kathy & Bert Is this a Gotcha?

 
Swamy Nathan
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There seems to be a imperfect explanation / illustration on page 211 of K&B HFEJB.

In section "Container decides to kill the bean but does not call ejbRemove()." It shows the container sending to the gc the passivated bean for garbage collection.

When a bean is passivated it means that the bean is already either sent to gc (or maybe recycled [not per spec]) to reduce the number of bean objects on the heap.

In section "Container decides to kill the bean but does not call ejbRemove()." The book should show the container deleting the file conatining the bytes of the serialized bean from the file persistence system( or whatever means was used for serialization).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic