Monday, September 18, 2006

Latest Update to ODM (Object Domino Map)

I've added cache support to the ODM. I decided to use WhirlyCache as the cache API. Of the two I reviewed (JCS and WhirlyCache)... WhirlyCache seemed the easiest to implement and from the API seemed like it kept caching simple. Admittedly I got sucked in because of the "For the impatient, here's how to get started using Whirlycache" article on the homepage of their website :). The ODM has some new methods to cache your java bean objects (see java docs for caching methods i.e. ftQueryForCachedList). Of course w/ the use of this caching API we have added some jar dependencies. In the classpath of your project, or system you will need to add the following jars:

  • ODM.jar
  • NCSO.jar (lotus/domino java APIs, not included in download... can be downloaded from
  • whirlycache-1.0.1.jar
  • commons-collections-3.1.jar
  • commons-logging.jar
  • concurrent-1.3.4.jar
  • log4j-1.2.8.jar
Download from my share

For more info on ODM see the Using a Domino Database to store Java Beans