- Overview of EJB
- Common tuning practices in EJBs
- Choosing between EJB and non-EJB
- Choosing between Local EJB and Remote EJB
- Optimize with Pass-by-Reference mechanism
- Wrap entity beans with session bean
- Reduce method calls with coarse granularity
- Control Serialization in Remote EJBs
- Cache EJBHome object references
- Control transaction
- Set optimal transaction age
- Use clustering for scalability
- Tune thread count
- Choosing between HttpSession and Stateful session beans
- Choose an EJB Server
- Tuning Stateless session beans
- Stateless session bean life cycle
- Tune Stateless session beans instance pool size
- Use setSessionContext() or ejbCreate() method as cache
- Release resources in ejbRemove() method
- Tuning Stateful session beans
- Stateful session bean life cycle
- Tune Stateful session beans instance cache size
- Set Optimal bean age for Stateful session beans
- Control serialization in Stateful session beans
- Remove Stateful session beans explicitly
- Tuning Entity Beans
- Entity bean life cycle
- Tune Entity beans instance pool size
- Tune Entity beans instance cache size
- Use setEntityContext() method as cache
- Release resources in unSetEntityContext() method
- Use lazy loading
- Choose optimal transaction isolation level
- Use proper locking strategy
- Make read-only Entity beans
- Use dirty flag to avoid unchanged buffer data updation
- Commit data after transaction
- Do bulk updates
- Use CMP instead of BMP
- Use ejbHome() methods for global operations
- Use connection pool
- Use JDBC tuning techniques
- Use direct JDBC when dealing with huge data
- Use business logic in Entity beans
- Tuning Message Driven Beans
- Message Driven Bean life cycle
- Tune Message Driven Beans instance pool size
- Use setMessageDrivenContext() or ejbCreate() method as cache
- Release resources in ejbRemove() method
- Use JMS tuning techniques
- Key Points
Monday, April 18, 2005
Best practices to improve performance in EJB
Subscribe to:
Post Comments (Atom)
Popular Posts
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- Yahoo! Mail: Revenge of the Oddpost
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Fast-track your Web apps with Ruby on Rails
- The Laughing Boardroom video...a real world example!
- Basic Requirements of a JavaServer Faces Application
- UDATE and *DATE in AS400 RPG
- IBM eServer iSeries - The Laughing Boardroom
- Creating an as400 Query
- AS400 APIs
No comments:
Post a Comment