Tomcat 5.0 uses the Jasper 2 JSP Engine to implement the JavaServer Pages 2.0 specification.
Jasper 2 has been redesigned to significantly improve performance over the orignal Jasper. In addition to general code improvements the following changes were made:
JSP Custom Tag Pooling - The java objects instantiated for JSP Custom Tags can now be pooled and reused. This significantly boosts the performance of JSP pages which use custom tags. Background JSP compilation - If you make a change to a JSP page which had already been compiled Jasper 2 can recompile that page in the background. The previously compiled JSP page will still be available to serve requests. Once the new page has been compiled successfully it will replace the old page. This helps improve availablity of your JSP pages on a production server. Recompile JSP when included page changes - Jasper 2 can now detect when a page included at compile time from a JSP has changed and then recompile the parent JSP. Ant used to compile JSP pages - The Ant Build Tool is now used to perform JSP java source code compilation.
Jasper is implemented using the servlet class org.apache.jasper.servlet.JspServlet.
The WebappClassLoader does more than simply loading Java classes. For example, it has a background thread (in Tomcat 4) and uses the common background thread (Tomcat 5) to support automatic application reload, i.e. if the web.xml or any .jar file has changed.
Author of <a href="http://www.amazon.com/exec/obidos/ASIN/097521280X/ref=jranch-20" target="_blank" rel="nofollow">How Tomcat Works</a>
Joined: Jul 04, 2003
Originally posted by Budi Kurniawan: The WebappClassLoader does more than simply loading Java classes. For example, it has a background thread (in Tomcat 4) and uses the common background thread (Tomcat 5) to support automatic application reload, i.e. if the web.xml or any .jar file has changed.
Thank you, i will use it in tomcat server.
Joined: Aug 31, 2004
That's what i was looking for...The automatic reloading of Applications.
Well....Does Tomcat support automatic reloading, when my servlet is changed, like the Class file is modified.
Sometime i get the message - "Webapp class loader modified" but this version of mine doesn't do that and requires a start. Shud i make any configurational change to accomplish this. And about the name, any significant reason?