Blog Speed: Implementing Some Old Standards
07 July 2004
I had overlooked a few standard optimizations which I should have included from the beginning:
- 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.
- 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.