I have a table containing information about the world's currencies (name, ISO code, decimal places, etc...) This information changes maybe once or twice a year. Most of my business logic needs to access this data often, so naturally I want to cache it. The $64 question is, how?
My natuarl inclination is to create a singleton class (probably static methods) which reads teh DB table at initialization or first use.
Then I just use this anywhere I need it. But what happens if I want to refresh the data? Can I use EJBs for a better solution? It should give fast access to the data.
From reading your article, it seems that I shouldn't use a SFSB to do this.
Very interested to hear your advice,