I am looking for some hints on what the best approach is to provide statistics from an EJB or Servlet (specifically a JAX-RS annotated class within RESTEasy). Is there any documentation providing where to start for having a servlet or EJB report statistics to say an MXBean?