how to improve java performance
We have a java application built with Swing applet and Servlet running on Tomcat. Some other features are: it uses Struts and log4j, and ANT for compilation.
How can the application be optimized for better performance. The current application is running fine. But I still think there could be areas of improvement. Areas where compilation process can be improved, memory and CPU usage can be reduced, better error reporting, better database connectivity etc.
Any suggestions are welcome.