Hi,
JaCoCo create code coverage for any application running on the Java VM.
The general steps are:
1) Configure the JVM running your code under test to use the JaCoCo agent
2) Create a report based on the tested class files
JaCoCo comes with integration for Ant and Maven and includes extensive
documentation:
http://www.eclemma.org/jacoco/trunk/doc/
Regards,
-marc