JBoss.org Community Documentation

Chapter 3. Architecture

3.1. Field interception
3.2. Object relationship management
3.3. Object Inheritance
3.4. Physical object cache mapping model
3.5. Collection Mapping
3.5.1. Limitations
3.6. Array Mapping

POJO Cache internally uses the JBoss Aop framework to both intercept object field access, and to provide an internal interceptor stack for centralizing common behavior (e.g. locking, transactions).

The following figure is a simple overview of the POJO Cache architecture. From the top, it can be can seen that when a call comes in (e.g., attach or detach), it will go through the POJO Cache interceptor stack first. After that, it will store the object's fields into the underlying Core Cache, which will be replicated (if enabled) using JGroups.

POJO Cache architecture overview

Figure 3.1. POJO Cache architecture overview