将控制台连接到基于 Eclipse 的应用程序

Connecting Jconsole to eclipse based aplication

我有基于eclipse 框架的桌面应用程序。只是想知道用 jmx 配置它的方法,以便我可以使用 jconsole 监视它。无法找到任何文档。有人可以提供实现该目标所需的步骤和配置吗?

提前致谢

通读 Monitoring and Management Using JMX Technology. There is even a section titled Using JConsole