Blog Speed: Implementing Some Old Standards

I had overlooked a few standard optimizations which I should have included from the beginning:

  1. Cache Homes -- This included telling the xdoclet-generated utility classes to cache homes they lookup and to explicitly code my ejbCreate() to cache homes of my entities in the session facade.
  2. Use DAO to bypass EJB finders when analyzing large lists -- Getting the latest comment.

I have to say, it feels pretty fast again -- I'll have to go screwing it up again real soon.


Filed Under: Blog-Code Java