Dynamic caching
By enabling the dynamic cache service, you can improve performance. The dynamic cache service improves performance by caching the output of servlets, commands, web services, and JavaServer Pages (JSP) files. The dynamic cache service works within the application server JVM, intercepting calls to cacheable objects. For example, it intercepts calls to a servlet and serves the response (Java objects) either from the cache or it caches the object once it has been created, allowing the cached version to be called on the next call.
To enable the dynamic cache service, open the Administrative console and click Servers | Application Servers | server | Container Settings | Dynamic cache service as shown in the following screenshot:
There is a penalty associated with caching, as the first time an object is cached it can take some time to store the object in the cache. During first use, the application might suffer performance degradation, until all objects are cached.
Tip
It is recommended...