The Cache Filter can be used to cache the response of a WebService .
We or any other "expensie" data provider. Out of the box, we support caching on two different scopes, the ADF ApplicationScope or the ADF SessionScope.
Depending on which scope you would like to use, you need to apply a different Data Provider class in the definition node.
For the SessionScope, use the class: orgorg.adfemg.datacontrol.xml.provider.filter.cache.
SessionScopeCacheFilter SessionScopeCacheFilter
For the ApplicationScope ApplicationScope, use the class: org org.adfemg.datacontrol.xml.provider.filter.cache.ApplicationScopeCacheFilter
Normally you typically use a CacheFilter on reference data that is static for the duration of a session or application. However, in this example we will use the HR example WebService we have been using throughout the Developers Guide.
Clone parameter
Both the CacheFilters can take one parameter, the parameter 'clone', this is the parameter that specifies whether the cached XML Element should be cloned before returning it. This is typically used when the CacheFilter is nested in other DataFilter(s) that manipulate the element and you want to make sure the cached element is not altered.
...