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

Doubt in Spec ....

 
Shanmugam Karthikeyan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a doubt in the following statement specified in the spec

"The conversational state of a STATEFUL session object is defined as the session bean instance�s fieldvalues, plus the transitive closure of the objects from the instance�s fields reached by following Java
object references.


I couldn't understand statement in bold ? Can anyone explain me...
 
Ramakrishnan Viswanathan
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When an object is serialized in Java, it is the transitive closure of the object that is serialized. The transitive closure is the complete set of all the objects to which an object holds references, and all the objects referenced by those objects.

This post gives a detailed explanation.

transitive closure
 
Ramakrishnan Viswanathan
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some more information. Please refer to the "Serialization vs. Remote Object References" subsection at the following place:

http://www.theserverside.com/articles/article.tss?l=ICommerce-Design-Strategies
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic