How does jconsole find MBeans without rmiregistry running?

J

John

Hi,

I have an application that I run 10 instances of. Each of which are
instrumented with MBeans. I really like how I can start jconsole and it
finds all the apps and the mbeans within them.

I need to build an app that automatically connects to the apps and
interacts with them via the MBeans interface. I see how to register
each instance via RMI, but I don't understand how jconsole can find
these apps without rmiregistry running.

Does anyone know how this works and what I can do to use the same
technique?

BTW, is the source to jconsole available?

Thanks,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top