users@glassfish.java.net

How do I deploy mbeans?

From: <glassfish_at_javadesktop.org>
Date: Fri, 24 Aug 2007 19:29:01 PDT

I am used to the sar structure in jboss.
Basically you put all your class files into one jar file then create a folder in jboss with a .sar extension. put the jar file in it and add a jboss-service.xml file with the mbean definition and attribute values. This deploys the mbean with the configured values.
I haven't found any way of doing this with glassfish.
The documentation doesn't mention this at all.
Besides I don't want to use the admin console to deploy an mbean as I have multiple mbeans in one jar file.
Can somebody provide me with some information on how to do this with glassfish?
[Message sent by forum member 'roshan_ail' (roshan_ail)]

http://forums.java.net/jive/thread.jspa?messageID=232576