Right. That makes sense. It doesn't matter what the XML looks like as long as the metadata accurately describes the configuration options. XML is just a store of that.
Is there a preferred JMX operation:
"There should be an option to create
passing the meta data object on a JMX operation."
Does the MBean already exist or will it be a completely new MBean? I'll check out what MBeans exist for JCA currently.