• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stateful Session Bean

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anybody has answer to that please? :roll:
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic