At the bottom of tht link, there is a line saying " any component (e.g. a servlet) that can get hold of the MBeanServer can potentially subscribe for notifications"
I am confused.
Because the MBean is in sar. the Servlet is a listener in war. In my servlet, I do server.addNotificationListener(objectName, this, null, null ); But looks like the listener (servlet ) also should be in SAR. How to solve this conflict.