WebApp Monitoring made easy : J2SE 5.0 and then Mustang
WebApp Monitoring made easy : J2SE 5.0 and then Mustang
If you haven't tried this... feel free to try this out... using jdk1.5 and java options set JAVA_OPTS=-Dcom.sun.management.jmxremote and start the tomcat or any other appserver... then launch JDK_HOME\bin\jconsole.exe and when asked for attaching pick the tomcat process to attach. Mustang is more matured than tiger... planning to check that out soon...
If you haven't tried this... feel free to try this out... using jdk1.5 and java options set JAVA_OPTS=-Dcom.sun.management.jmxremote and start the tomcat or any other appserver... then launch JDK_HOME\bin\jconsole.exe and when asked for attaching pick the tomcat process to attach. Mustang is more matured than tiger... planning to check that out soon...
用 Cobertura 测量测试覆盖率
Cobertura 是一种开源工具,它通过检测基本的代码,并观察在测试包运行时执行了哪些代码和没有执行哪些代码,来测量测试覆盖率。除了找出未测试到的代码并发现 bug 外,Cobertura 还可以通过标记无用的、执行不到的代码来优化代码,还可以提供 API 实际操作的内部信息。Elliotte Rusty Harold 将与您分享如何利用代码覆盖率的最佳实践来使用 Cobertura。
