Chapter 5. Global Context

The global context is a part of WebSphere sMash that provides unified access to environmental, application, and user-specific data. The global context consists of several zones, each forming a namespace that is rooted at “/”. Each zone serves a particular purpose, providing data for the application that is applicable for a certain scope. In this chapter, we look at each of these zones in turn and then learn how to access these zones in Java, Groovy, and PHP.

Zones

The global context is divided into several zones by default. The standard set of zones includes the config, request, event, tmp, app, connection, user, and storage zones. These zones provide a wide range of scoped data and allow applications to add their ...

Get Getting Started with IBM WebSphere sMash 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.