title: Difference between JMX and RMI
body: <p>What is the purpose of JMX and what is it used for? I have been scanning through some of the tutorials on JMX and all they do is register some Mbeans and invoke those Mbeans from jconsole. If that is its purpose, then what is the difference between JMX and RMI (remote procedure call)?</p>
  
  <p>Thanks in advance!</p>