I am designing a J2SE application, and looking for a solution for monitoring and alerts. The requirements are:
- Objects can report their status and issue alerts when they have problems.
- Calling some pre-defined methods on specific objects (e.g. to dump their state).
- Monitoring JVM health, especially memory usage.
- Preferably access all of the above from a remote computer.
What would be the best solution for that? Anything involving JMX?