On Nov 22, 2008, at 7:32 AM, Oleg Kalnichevski wrote:

On Fri, 2008-11-21 at 13:07 -0500, Ryan McKinley wrote:
Hello-

I've been messing with building a tool to monitor what is happening
while droids is running.  In doing this, i realized I may be re-
inventing the jmx wheel.

Does anyone have much experience with JMX?

It seems like that would be a good way to expose any 'status'
information:
https://issues.apache.org/jira/browse/DROIDS-27

Additionally, it would be a good way to expose things like changing
the max # of workers in real time. Or canceling a worker mid job, etc.

Any thoughts on JMX and droids?

ryan

Ryan,

I have no experience working with JMX but I am certainly in favor of not reinventing the wheel. Could we keep the dependency on JMX optional for
Droids Core, though?


JMX is already included in the Java SE platform (java 6 has a lot more in it though) -- so adding JMX to core would not change the dependencies.

I have not really looked into it yet, so I'm not really sure what the implications are. My hunch is that 'core' would implement some standard interfaces (MBean etc). If the any droids specific JMX management classes are non-trivial, then they should be moved to their own module.

ryan

Reply via email to