cache the properties of a hash table

HiI want read properties from a xml file, store these on memory and call them from a jcd. Have someone any examples?Thanks
[150 byte] By [conector] at [2007-11-26 10:39:55]
# 1

hi conector,

i have sometimes implemented such scenarios that way....

jcd that holds a local file in (for the xml file)

has a static variable (hashtable)

whenever hastable == null (on initialization) i get the xml file via batch loal file

parse it into xml otd of your choice and initialize the hashmap and fill it

next time the jcd runs hashtable != null and takes cached values out of hashmap

when jcd is uninizialized the cache is reread.

regards chris

ChrisBrennsteiner at 2007-7-7 2:51:22 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...