Java Security Research - Static Analysis For Performance Optimizations
Optimizing EJB entity beans for performance can be done in several different ways. One way is to ensure that entity bean data that has not been modified during a transaction is not unnecessarily updated in the database at the end of that transaction. By avoiding unnecessary updates you can avoid expensive database operations, resulting in better performance and concurrency. By using the previously developed mutability analysis, we are able to improve the performance of an EJB container running EJB Entity beans. Some discussion about CMPOpt can be found at The Server Side.
Subsequent research on optimization based on deep interprocedural analysis was done by the Program Analysis and Transformation project.