Conversational state (Java EE)
Appearance
![]() | This article needs attention from an expert in Computing. Please add a reason or a talk parameter to this template to explain the issue with the article.(February 2015) |
In Java Platform, Enterprise Edition (Java EE), the Conversational state are the field values of a session bean plus the transitive closure of the objects reachable from the bean's fields. The name "conversational" is used as in this state the client interacts with the bean - a stateless session bean does not do so.[1] For example, while a Cart bean might contain a conversational state to communicate with the client about the contents of their cart, an Order bean might not as the invocation is not necessary.[2] The transitive closure of a bean is defined in terms of the serialization protocol for the Java programming language, that is, the fields that would be stored by serializing the bean instance.
References
- ^ Jendrock, Eric (2006). The Java EE 5 Tutorial. Prentice Hall Professional. ISBN 9780321490292.
- ^ Vasiliev, Yuli (2008). Beginning Database-Driven Application Development in Java EE: Using GlassFish. Apress. p. 306. ISBN 9781430209645.