The jdbc resource templates directory contains example resource templates for various databases which can be modified and used. The purpose is to avoid having to remember the syntax and various options which are needed for the definition of connection-pools and resources.

Pl. refer to CLI documentation for the syntax of adding resources using an xml script
http://appserver.sfbay.sun.com/apollo/cli/sjsas9_cli_commands.html
 
Add resources with a XML file.

Syntax
add-resources [--target target] xml_file_path

target          in case of EE, name of target being operated on.  The valid targets for this command are instance, cluster, 'domain' or 'server'. By default the target is the 'server'.

xml_file_path   path to the XML file containing  the resource(s) to be registered.
