Does the Java Pet Store Demo provide guidelines on caching?
A. No. To some extent, this falls into performance optimization. We do provide strategies such as using a Stateless Session Bean EJB to hold onto reuseable resources and the ServiceLocator pattern. We don’t really address caching of application data very much. We also have some strategies for extending the petstore app to do some caching which have been discussed on the J2EE BluePrints interest list.