Jeanfrancois Arcand wrote:
> 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.
Should I file 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:
Yeah, just copy and pasting the commons-modeler stuff I need then. Would
it make sense to contribute this back? BTW does GlassFish use
commons-modeler or has it it's own implementation?
Cheers
Philippe