Name

<distributable>

Synopsis

The <distributable> element tells the web container that the application is designed to run in a distributed web container. This element doesn’t contain a body:

<distributable/>

A distributable application doesn’t 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 Chapter 17.

Get JavaServer Pages, Second Edition 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.