Transcript Web Trace
R2AD , LLC ® Web/Trace What? Where? When? Why? Dynamic “In The Field” Logging Controls Copyright © 2006 R2AD, LLC All Rights Reserved. R2AD is a registered trademark of R2AD, LLC. Web/Trace • • Provides dynamic web-time (run-time) insight into the application with controlled specificity. Supports: – – – – – – • Timing Studies Metric Collection In the Field Trouble Shooting Evidence Collection for Intermittent bugs Developers need for debugging programs Testing - IV&V Both J2SE (clients) and J2EE (web/EJB) – Web Trace Control servlet/JSP provided – Swing Trace Control dialog provided – Same simple Trace API for developers R2AD Page 2 Copyright © 2006 R2AD, LLC All Rights Reserved CONOPS 1. Problem Encountered 2. Administrator Activates Web Trace Control: •- Turn’s on appropriate components •- Turns on File Logging •- Repeats Steps which led to problem •-Views log, analysis, reporting R2AD Page 3 Copyright © 2006 R2AD, LLC All Rights Reserved Monitor/Control Trace via the Web Console Developers use the Web/Trace APIs to register their own trace levels and categories Administrators can copy and then attach selected trace or entire trace file as part of an incident report R2AD Page 4 Copyright © 2006 R2AD, LLC All Rights Reserved Summary and Future • Open Source for DoD and others – Source code available for DoD customers – R2AD is responsible for maintenance and support • Efficient – Only those levels of trace which are “on” are processed • • • Developer can use an if-statement to determine if log call should be made - this helps increase normal system performance so that trace commands can be left in the code without impacting fielded performance! Thick Client is also support via a Swing GUI Future Capabilities – Support plug-in Java 1.4 logging (In design stage) – Log file searching coming soon (remote searching/filtering!) R2AD Page 5 Copyright © 2006 R2AD, LLC All Rights Reserved Simple Design TraceDialog is used by Thick Clients by Administrators (typically) to control trace via a Swing GUI (JDialog). This can be added to your menu/button bar as needed. Trace is the main class - use it as a Singleton to gain access to Trace functionality. Make calls to register object levels/names and to turn on/off trace level at runtime. WebTraceServlet is mapped in your web.xml file so that administrators can access that URL to see the web control admin interface to turn on/off trace levels. R2AD Page 6 Copyright © 2006 R2AD, LLC All Rights Reserved Simple to use: web applications or clients R2AD Page 7 Copyright © 2006 R2AD, LLC All Rights Reserved Contact Information • R2AD, LLC – Providing innovative software technology • • • Enterprise Web Development (Java, JSP, EJB) Telephonic Software (J2ME - CLDC) Grid Computing Consulting and Architecture – Mailing Address Location: P.O. Box 10281 McLean, Virginia 22102 Phone: (703) 714-0442 – On the Web: • http://www.R2AD.com – Need more Information or a demo? • R2AD Please contact Michael Behrens at: [email protected] Page 8 Copyright © 2006 R2AD, LLC All Rights Reserved