It would be great if the console could present a view of a resource adapter deployment with all its properties.
If you deploy the attached .rar and insert the configuration in the subsystem you will be able to see the entire tree of all the resource adapter components.
A connection-definition is almost the same as a data source deployment, so you can probably re-use a lot of code from there.
The best way would be a tree-like structure:
+- Connection definitions
+- JNDI name 1 (first <connection-definition>)
+- JNDI name 2 (second <connection-definition>)
+- Admin objects
+- JNDI name 1 (first <admin-object>)