O'Reilly logo

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology by Greg Barish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scalability and Performance Hints

With a survey of HTTP and its efficiency features under our belts, it's now time to consider specific strategies that encourage scalability and high performance for any Web application.

Use GET and POST Judiciously

An application designer has the ability to determine how data queries and updates are processed. As we've discussed, its best to require POST requests only when there are going to be side effects of the communication—that is, data will be updated on the server. If not, you are strongly encouraged to code your HTML input forms for GET requests because of GET's tight integration with the HTTP 1.1 caching ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required