applicationScope

From Documentation

applicationScope - java.util.Map

A map of custom attributes associated with the Web application. It is the same as calling WebApp.getAttributes.

A web application is a WAR, and each web application has an independent set of custom attributes. These attributes are used mainly to communicate among different desktops and sessions.

If the client is based on HTTP, such as a Web browser, this is the same map of attributes stored in javax.servlet.ServletContext. In other words, you could use it to communicate with other servlets, such as JSF.



Last Update : 2022/07/04

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.