We have a DAO that communicates with a remote ERP system using a custom XML protocol.
We are considering the use of OpenSymphony OSCache 2.x for caching some of the XML responses.
Can you suggest a design or implementation strategy for us?
We are thinking about using the Decorator pattern to "decorate" the XML DAO with caching capabilities.