Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Performance Tuning Guide

Cache Bean-Specific Resources

Use the setMesssageDrivenContext() or ejbCreate() method to cache bean specific resources, and release those resources from the ejbRemove() method.