I am a .NET dev learning Java. As a result, I understand all the fundamentals of programming like loops, variables, functions, etc. My biggest bottleneck is that I don’t know my way around Java’s packages like I do with .NET’s.
This is the reason for this thread – where do I find the following functionality in Java?:
System.Diagnostics – where can I use things like stopwatch, programmatic breakpoints and loggers?
Is there a Java equivalent of .NET performance counters?
What are weak keys in Java? I just came across a collection which uses weak keys in Java so am asking here. 🙂
Thanks
JAMon is one possible open-source Java Monitoring library that might fit your requirements.
In addition, any performance/management counters are exposed through Java Management Extensions (JMX)
Then you have a number of monitoring consoles:
jconsolecomes with bundled with the Java installation (Swing based)Alternatively, take a look at this other posting for ideas on how to monitor JMX statistics in Perfmon.
Hope this helps.