Summary
In this chapter, we covered many techniques for improving the performance of JSP applications. We discussed how to use the OSCache page-caching system to avoid regenerating a page for every incoming page request. Knowing that a database connection is an expensive operation that consumes processing time, memory, and network resources, we discussed the use of connection pooling to minimize the cost of this operation in JSP applications.
Performance and scalability are primary concerns for any JSP application. After a JSP application is deployed on a corporate intranet or on the Internet, it may become more popular than initially envisaged. If you apply the design practices discussed in this chapter, you have a much better chance of meeting your customer’s performance requirements and continuing to meet them as your user base expands. We showed you a specific performance-testing tool, Apache JMeter, which you can use during development to prove that performance and scalability requirements are being met.
As you read about JSP application frameworks in the following chapters, keep in mind what you’ve learned about designing for performance and scalability.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Editor information
Rights and permissions
Copyright information
© 2005 Simon Brown, Sam Dalton, Daniel Jepp, Dave Johnson, Sing Li, and Matt Raible
About this chapter
Cite this chapter
(2005). Improving Web-Application Performance and Scalability. In: Mukhar, K. (eds) Pro JSP 2. A-Press. https://doi.org/10.1007/978-1-4302-0111-3_13
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0111-3_13
Publisher Name: A-Press
Print ISBN: 978-1-59059-513-8
Online ISBN: 978-1-4302-0111-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books