File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
cache-aside or cache-as-sor
Joined: Jun 28, 2010
Apr 01, 2011 08:22:24
I was going through the Ehcache user guide and got confused with one given example:
If DAO layer is handling the cache read and write activity itself, then is it a cache-aside
or cache-as-sor pattern?
As per my understanding it should be cache-as-sor, since for any Application, DAO is the s-o-r (system of record).
Did i miss something important?
Please help me out.
I agree. Here's the link:
subject: cache-aside or cache-as-sor
Design Patterns for DAO & VO
EJB with DB Access
Preventing access of DAO layer from Service layer.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014