The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt in Spec .... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt in Spec ...." Watch "Doubt in Spec ...." New topic

Doubt in Spec ....

Shanmugam Karthikeyan
Ranch Hand

Joined: Aug 02, 2002
Posts: 58

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...

SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3
Ramakrishnan Viswanathan
Ranch Hand

Joined: Aug 24, 2005
Posts: 90
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

Regards<br />Ram<br /> <br />SCJP 1.4, SCBCD 1.3, (SCEA)
Ramakrishnan Viswanathan
Ranch Hand

Joined: Aug 24, 2005
Posts: 90
Some more information. Please refer to the "Serialization vs. Remote Object References" subsection at the following place:
I agree. Here's the link:
subject: Doubt in Spec ....
It's not a secret anymore!