I have been developing an application which makes use of JMX notifications. Until now I have been able to send notifications from mbeans, and received them by other mbeans using listeners. However, I have been unable to initiate a notification directly from an SLSB. All samples as well as the documentation describe notification initiation through mbean. Has anybody come accross this issue? Is the only way to send a JMX notification through an mbean ?
Thanks in advance,
the mbean server handles the notification registrations so in order for anyone to register a listener for the notifications, the broadcaster needs to be available to the mbean server, and this in turn means an MBean (which can of course be just a delegate to some other object)