WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Task overview: Using the dynamic cache service to improve performance

Use the dynamic cache to improve application performance by caching the output of servlets, commands, and JavaServer Pages (JSP) files.

Before you begin

On distributed platforms, WebSphere Application Server, Version 4.0, supported the configuration of dynamic servlet caching through the servletcache.xml file. To utilize the new and improved functionality of the dynamic cache service, configure your cache policy using the cachespec.xml format. See Configuring cacheable objects with the cachespec.xml file for more information.

Why and when to perform this task

The dynamic cache service works within an application server Java virtual machine (JVM), intercepting calls to cacheable objects. For example, it intercepts calls through a servlet service method or a command execute method, and either stores the output of the object to the cache or serves the content of the object from the dynamic cache.

Steps for this task

  1. Enable the dynamic cache service globally. To use the features associated with dynamic caching, you must enable the service in the administrative console. See Enabling the dynamic cache service for more information.
  2. Configure the type of caching that you are using.
  3. You can monitor the results of your configuration using the dynamic cache monitor. For more information, see Displaying cache information.
  4. If you have any problems with your configuration, see Troubleshooting the dynamic cache service.

What to do next

To use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache, see Using the DistributedMap and DistributedObjectCache interfaces for the dynamic cache.



Sub-topics
Dynamic cache
Enabling the dynamic cache service
Configuring cache replication
Configuring cacheable objects with the cachespec.xml file
Configuring command caching
Example: Caching Web services
Configuring the Web services client cache
Displaying cache information
Using the DistributedMap and DistributedObjectCache interfaces for the dynamic cache
Using servlet cache instances
Example: Configuring the dynamic cache
Troubleshooting the dynamic cache service

Related tasks
Tuning the application serving environment

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tdyn_dynamiccache.html

© Copyright IBM Corporation 2003, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)