Name

<distributable>

Synopsis

The <distributable> element is used to tell the web container that the application is designed to run in a distributed web container.

Syntax

<distributable/>

This element does not contain a body. A distributable application does not rely on servlet instance variables, static classes or variables, servlet context attributes, or any other mechanism for shared information that is restricted to one Java Virtual Machine (JVM). It also means that all objects placed in the session scope are serializable, so that the container can move the session data from one JVM to another. For more information about distributed applications, see the servlet specification or my book JavaServer Pages (O’Reilly).

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.