This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
I've been searching around online, have read through the JAMon User's Guide, have looked at the provided example, but can not get my administrative page to return results. (The JAMonAdmin.jsp page renders, but the results table is blank.) According to the documentation, all that is required in the code is a MontitorFactory and calls to start and stop it: import com.jamonapi.*; ... Monitor mon=MonitorFactory.start("myFirstMonitor"); ...Code Being Timed... mon.stop(); I have done this yet my admin page does not display any results. I'm I missing something? Is this a configuration issue, user error, something else? Is it necessary to call mon.getReport()? When and where? Thanks!
If you are successfully making calls to jamon and have JAMonAdmin.jsp in youre war then you should be able to see the stats. I have seen classpath problems if your calling context jamon.jar is different than the jamon.jar being referenced by JAmonAdmin.jsp. If you put jamon.jar in web-inf\lib this shouldn't be a problem. If you put a monitor in JAMonAdmin.jsp you will definitely see data. i..e at the top of JAMonAdmin.jsp put