Caching DATA in a view (Servlet) is a bad practice.

Best practice is to use DAO,
A DAO does caching for you! It has fine grain control of how, when to flush, what size... all with no or minimal coding.


Data caching ...in Data Layer.


.V

David Johnson wrote:

Hi All

I have a need in an app I'm working on to cache data that is valid and
shared across users, like standard country codes, region codes,
industry codes... stuff like that.

What's the best way to do that with my struts 1.2 application? Is
there something built in that I'm not aware of that I can leverage or
any best practices you guys can point me toward?

Betst to ask the experts first...

Thanks!

D





--
Forums, Boards, Blogs and News in RiA <http://www.boardVU.com>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to