Re: help
"Simone Bordet" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, > Hi I am new to jmx and have a few questions. > > I have the sample mx4j code running to start a Mbeanserver and a client. > The client registers and unregisters a Serverdelegate bean which cause a > notification to be sent for both. the notifications work and the client > handles the notification. Ok, so the server send the notification and the client receives it, everything ok. > My question is that I want to send a notifcation from the server to the > client... how would i do this. I want the client to reconize the > notification sent from the server. If you want that an MBean that you wrote is able to send notifications, it must either implement NotificationEmitter, or extend NotificationBroadcasterSupport. > Someone told me the reason that the client doesn't see a notification sent > from the server is because they aren't on the same JVM, which is what i > want... so does anyone have a clue what I am doing wrong> It is perfectly possible that a client receives notification from a remote server. Client and server do not need to be in the same JVM. Simon -- http://bordet.blogspot.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642