Hi All, The following article is a example of how servlet filters can be used to profile and trace J2EE web applications.
JXInsight Trace Extension for Java Servlets & JSP - Configurability http://www.jinspired.com/products/jdbinsight/servletconfig.html Extract: "At JInspired we recognize it is not possible to offer an universal Application Performance Management (APM) solution unless configurability and extensibility are integral elements of the overall product design. In this article I will discuss the first element using examples based on JXInsight's Servlet / JSP trace extension." Please note that all JXInsight trace extensions record trace statistics for high resolution clock times, cpu time, gc, object allocation sizes, thread blocking and waiting times. This is is a big improvement over System.currentTimeMillis(). Regards, William Louth JXInsight Product Architect JInspired "J2EE tuning, testing and tracing with JXInsight" http://www.jinspired.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com