O'Reilly logo

IBM WebSphere: Deployment and Advanced Configuration by Roland Barcia, Keys Botzum, Tom Alcott, Bill Hines

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bean and Data Caching

The EJB container provides caching capabilities to your Enterprise Beans. Database applications often need caching facilities in order to reduce the number of round trips between the database and the application server. This provides better performance for applications in some scenarios. Because CMP (and EJBs in general) provides abstraction at many levels, understanding where caching can happen can be a challenge. Figure 10-4 illustrates some of these concepts.

Figure 10-4. CMP bean and data cache.

On the top layer, there is a set of CMP objects that have the data in the format the programmer uses. For example, the Stock ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required