August 2004
Intermediate to advanced
720 pages
19h 43m
English
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.

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 ...
Read now
Unlock full access