Re: Is there a pattern for this..
Posted By:
Ashish_Sinha
Posted On:
Tuesday, March 12, 2002 11:11 AM
I don't claim to be an expert but have the following ideas for ur requirements.
1. Do the loading in static block of code.
2. Make the Cache object a Singleton object.
3. In order to avoid restart, U can keep
on monitoring ur XML file for a change. This may be done in a seperate thread which is normally sleeping but awakes and checks after a given interwal.