On Today at 5:34pm, VC=>Vic Cekvenich <[EMAIL PROTECTED]> wrote:

VC> What I do is do data (Model) caching the data layer, the DAO, such as
VC> iBatis. For example I can set the cache for "options" to 24 hours or
VC> more, thus no special code for caching otside of DAO.
VC> 
VC> Then I retrive optionsCollection from DAO "order by
VC> some_sort_colum_for_order".  This puts them in order. The data is
VC> accessed once for the application context ('cuase of DAO).
VC> 
VC> 
VC> hth,
VC> .V

Vic,

All valid points, except that they don't apply to my situation. This might
help someone else if they're searching the archives.

My situation is different because the call to the data layer for the
specific purpose of downloading the application-wide settings is not
available yet via java.  It is only available, at the moment, via a C API,
which is why I mentioned the daily cron job which could be used to
generate the "data files"  (failed to mention in orig msg that it is
written in C). That's life. You gotta deal with what's available.

Thanks for the reply,
--
Haroon Rafique
<[EMAIL PROTECTED]>


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

Reply via email to