-
1. Re: Are there examples of XMBean use?
juha Feb 19, 2002 7:27 AM (in response to davidjencks)> I wrote an xdoclet template that generates the xml
> descriptor for XMBean from the tagged java source
> code. Now I'd like to find out if it works. Are
> there any examples of using XMBean with an xml
> descriptor?
Since you're the second person in a day (you and Andreas) to ask how it works, I will add a test case to the jmx test suite that creates a simple mbean by loading an xml descriptor (also I need to make sure the JBossMX version of XMBean still works, as it has been out of the test loop for a while).
> Is there a suggested convention for
> where to put the xml descriptor relative to the
> class?
No, not really, any URL will do, either public from a web server or local in a filesystem.
> If I write some tests should I put them in
> testsuite or jmx?
Please use the jmx test suite for now. It is the most up to date and that is what should be used.
-- Juha