I am thinking about writting an MBean that will generate *-service.xml files for datasources.
I see it the following way.
- MBean attributes corresponding to values needed to construct -service.xml (such as url, driver, user, password, etc);
- XML template with dummy/default values;
- XSL stylesheet similar to what David wrote for -ds.xml;
- managed operation 'generate' that will transform XML template, probably, mostly substituting dummy values with managed attribute values.

Actually, I am looking for a nice way to configure datasources in FoeDeployer but I think it could be useful behind it.
Also the same way any -service.xml file can be generated.

Any thoughts?
Thanks.

alex
----
Free Mail http://ua.fm


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to