Article:
 |
|
Object Caching in a Web Portal Application Using JCS
|
| Subject: |
|
Caching |
| Date: |
|
2003-12-24 04:20:28 |
| From: |
|
anonymous2
|
|
|
Of course this is a bit of a hack.
Some people use MVC.
In MVC, the data caching is in the model.
If you also use a DAO, most have auto caching and auto flushing. For example iBatis and Hibrenate, so you just declare it.
To put caching of data in the other layer is not MVC.
Cekvenich_Vic at
baseBeans.com
|
Showing messages 1 through 6 of 6.
-
Caching
2003-12-29 19:46:53
srinip
[View]
-
Caching
2003-12-24 11:02:17
anonymous2
[View]
-
Caching
2004-01-05 00:56:23
anonymous2
[View]
-
Caching
2003-12-29 19:52:18
srinip
[View]
-
Caching
2007-12-04 14:31:39
vipani
[View]
-
Caching
2007-12-04 14:31:25
vipani
[View]
We are not using a OR tool (such as Hibernate) in this app and we have some legacy code (with JDBC calls) where we were hitting DB every time just to display lookup data. So we needed a way to cache data on the servlet container to optimize DB calls. Also, I think Hibernate uses JCS for its caching needs.
Regards