Jwebap is an profiler tool for j2ee application with jdk 1.4 and up.You can use it to monitor method,jdbc,jsp executions etc.And then view in a web console.It can be used not only in test environment but production environment with very low-overhead.
JTombstone is a program for finding dead code in your Java programs. It reports on dead code at the method level, by processing Java class files. No source code is needed to use it. JTombstone is a Java program and requires JDK 1.4 or later.