Is there a way to define nested probes in Java similar to that supported in APC?
Yes. In APC you’d write something like: probe “a()” { probe “b()” { on_entry do_something(); } } For Java it’s not quite as clean as with APC because of the split between the probes in Java and the definition in XML. The file Example14.java has two Probe Methods; the MyUmbrellaProbe is the equivalent of the “a()” in the above example. It creates a new MyNestedMethodProbe probe (i.e., “b()”) in it’s onEntry method. The file Example14.xml is the probe deployment descriptor. We just define both targets in it. Note that you don’t specify the hierarchy in the XML: it’s defined by the Java probe.