It's not a secret anymore!*
The moose likes JDBC and the fly likes cache-aside or cache-as-sor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "cache-aside or cache-as-sor" Watch "cache-aside or cache-as-sor" New topic
Author

cache-aside or cache-as-sor

Himanshu Mall
Greenhorn

Joined: Jun 28, 2010
Posts: 22
Hello everyone,

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 pattern 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.


Regards
Himanshu Mall
@mall.himanshu84@gmail.com
 
Consider Paul's rocket mass heater.
 
subject: cache-aside or cache-as-sor
 
Similar Threads
DAO Pattern
EJB with DB Access
why DAO?
Preventing access of DAO layer from Service layer.
Design Patterns for DAO & VO