I am having a bit of a problem. I need to deploy an MBean
and I am unsure on how to achieve this.
I have created the MBean and now I need to know if it has
to go into an "SAR" archive? or something else.
If I have to place it into a "SAR" archive, what else needs
to go in there? and where do I deploy it?
Does anyone have a small example?
You have two choices.
1) Create a sar.
Code and config in the same archive.
for how to contruct this.
2) Put your code in a jar and have a myservice.xml with
at the top, look at one of the other xml files
Either way, add them to server/default/deploy where
you will find the other examples.