Hi Simon

I think the best is to second one because JMX (at least the
JMX RMI-Connector) uses RMI method calles which take a lot
of time to transfer and you have to wait for a response.
Therefore the JMS is better because you just register your-
self as a subscriber and get the information right away.

Have fun - Andy

> -----Original Message-----
> From: Bordet, Simone [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 14, 2000 11:05 AM
> To: jBoss Development Mailing List (E-mail)
> Subject: [jBoss-Dev] Monitoring JBoss
> 
> 
> Hey all,
> 
> while I'm writing some code that monitors the bean cache and 
> that can be
> then viewed in a client through JMX, I'd like to ask what do 
> you think will
> be the best between sample monitoring and event monitoring, ie:
> - sample monitoring: the client (normally a GUI with charts) 
> calls a method
> through JMX to sample the status of JBoss every, say, 1 second
> - event monitoring: the client is a registered listener of 
> JMS messages that
> are sent every time in JBoss some interesting value changes.
> 
> If you have other suggestions, they're welcome.
> 
> For now I'm writing a simple implementation of sample monitoring.
> 
> Simon
> 

Reply via email to