ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Object Caching in a Web Portal Application Using JCS
Subject:   DAO, XML, caching...
Date:   2003-12-29 11:06:26
From:   anonymous2
At our company, we use the DAO pattern for all data access.


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.