I was just wondering if your book addresses Tomcat configuration "best practices" and offers any performance tuning suggestions (if there are any).
Jay Burgess<br /><a href="http://www.vtgroup.com/" target="_blank" rel="nofollow">http://www.vtgroup.com/</a>
Joined: Jan 08, 2004
hi, i asking the same question but unfortunately , the author say no on it ..follow is based on his reply
It doesn't offer configuration tips. Rather it teaches how to write your own components. It is not impossible to write a module that can improve performance.
For example, there are four types of containers: Engine, Host, Context, and Wrapper. Every HTTP request for a servlet/JSP page goes through these four. If you know that your Tomcat will only run one application, you can create a Context module that does not need a Host or an Engine. That way, the connector will pass all requests directly to the Context. --------------------