Chapter 15. J2EE Performance Tuning
J2EE performance tuning builds on lower-level performance-tuning techniques and general architectural considerations described earlier in this book. J2EE-specific considerations are discussed in this chapter and in Chapter 16 through Chapter 18. This chapter covers performance aspects of J2EE relevant to all J2EE projects and includes a brief section on tuning JMS.
Performance Planning
Section 13.7 is particularly relevant for J2EE projects. Continual load testing, valid test data, appropriate testing environments, good monitoring tools, and well-specified performance targets are all crucial to achieving a high-performing J2EE deployment. In addition, monitoring after deployment is strongly recommended to maintain good performance. Don’t let the brevity of this section mislead you—making a performance plan, emphasizing the aspects I’ve just listed, is the single most important indicator of success for a J2EE project’s performance.
J2EE Monitoring and Profiling Tools
J2EE applications and J2SE applications are monitored and profiled differently. J2EE applications include all the bottlenecks that you find in J2SE applications, but they can also have more serious, system-wide resource contention bottlenecks. Contention bottlenecks occur when multiple objects try to use the same resource at the same time and extend across multiple VMs or to outside resources like databases. J2SE profilers essentially monitor and log various aspects of a single ...
Get Java Performance Tuning, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.