users@grizzly.java.net

Re: JMX in Grizzly 2?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 29 Jun 2009 12:08:46 -0400

Salut,

Philippe Marschall wrote:
> Hi
>
> I use JMX in an embedded Grizzly as outlined in [1]. Since moving to
> Grizzly 2 (currently 2.0.0-M3) the MBeans are no longer registered. Is
> this a known bug or is the procedure different for Grizzly 2?

I guess this is a bug.

>
> Also are there some alternatives to commons modeler? My application is
> currently 2.5 MB with an embedded Grizzly and 2 MB with an embedded
> Jetty. Without commons modeler grizzly would probably be smaller than
> Jetty ;-)

Yes you don't need commons-modeler. Grizzly doesn't have a dependency on
it. The sample I've blogged use it, but you can use pure JMX. You need
to implement that interface:

https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/http/Management.html

Let me know if that help!

-- Jeanfrancois

>
> [1]
> http://weblogs.java.net/blog/jfarcand/archive/2008/07/extending_the_g_1.html
>
> Cheers
> Philippe
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>