Follow these general guidelines to increase performance of the presentation tier:
Minimize Java synchronization in servlets.
Do not 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.