I am working on a utility API. Basically, this would be a web-app with a
servlet that will load some data from various property/text files into Hashtables (or classes extending HT), cache it using OSCache for say 48 hrs and service client requests.
Another application (which can be any application, the Utlity API shouldn't bother about it), lets call it client application, has a servlet that will send request to this API (say request for translating a
word to another language). The API will search for the translation in the Hashtables and return it to the servlet if found (or an empty
string if not found).
I am really not able to imagine the design part of it. My API should have abstraction so that any client API can use it. The API on the other hand should be something like a service (apart from usual
java classes) that updates the data after the OSCache TTL expires automatically. Can anybody help me in this?
Thanks for your time ranchers..
[ December 01, 2003: Message edited by: Yash Sharma ]