PDA

View Full Version : Java stand-alone ??


jsilvam
19-02-2009, 21:31
Can java-monitor monitoring stand-alone java applications?

Thank's
JS

Barry
20-02-2009, 11:33
Hi,

There is nothing preventing you from taking the probe and installing it in a Java application (after making it into a JAR and removing the servlet references). I was having the same idea the other day as well as I have a bunch of small persistant applications that do things like instantiate Xen VM's by sitting on a JMS topic and receiving instructions from a webapp.
Being able to monitor them would be great.

It's up to Kees Jan to make it an 'official' feature, but I can experiment with it.. it should not be too hard.

Regards,

Barry

jsilvam
20-02-2009, 16:09
It's a good idea, i would like to check some processes (java application stand-alone) that interacting with other web applications

Barry
21-02-2009, 13:29
Hi,

Pretty much the same here.
It should not be hard as the mechanism is pretty simple and the probe has no inherent dependency on being a Webapp (it only contains some redirect filter and of course a way to get started)

What would be required is a call into the probe from your own application to kickstart it. I also remember talk of an OSGi plugin based probe which could be included pretty easy.
I've done OSGi before, not sure if I'm going to go down that road again (my applications are a bit simpler and I think that I'm going to approach it the Unix way by having small applications do one thing well)

Either way, I'm sure Kees Jan will chip in at some point and share his throughts.

Regards,

Barry