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

- Previous: Java Programming Guidelines
- Next: Avoid Shared Modified Class Variables

### General Guidelines

Follow these general guidelines to increase performance of the presentation tier:

- Minimize Java synchronization in servlets.

- Don’t use the single thread model for servlets.

- Use the servlet’s `init()` method to perform expensive one-time initialization.

- Avoid using `System.out.println()` calls.

- Previous: Java Programming Guidelines
- Next: Avoid Shared Modified Class Variables

- © 2010, Oracle Corporation and/or its affiliates