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

Stateful Session Bean

 
sunnymet Metkar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the core spec it is written that

"The conversational state of a stateful session object is defined as the session bean instance�s field values,
its associated interceptors and their instance field values, plus the transitive closure of the objects from
these instances� fields reached by following Java object references."

Can anybody please explain the meaning of last part of this sentense (transitive closure of the objects from
these instances� fields reached by following Java object references).

Also, if Stateful session beans interceptor has a String instance variable with some value say String var="temp" and the bean is passivated, what will be the value of var after activation of bean. As per my understanding it will be "temp". Is this right?
 
sunnymet Metkar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody has answer to that please? :roll:
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
transitive - Of or relating to a relationship between three elements such that if the relationship holds between the first and second elements and between the second and third elements, it necessarily holds between the first and third elements. dictionary.com


Mumbo jumbo for sure. I think it just means that the bean remains in scope so long as there is a Java object somewhere that maintains a reference to it.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic