Resource Templates

A resource template specifies configuration details for resources.

One resource template can be used to configure many resource instances. Resource instances allow sharing of resources such as connection pools. They also eliminate the need to provide such details in services, component implementations, and references. Instead, you specify a property of the type of required resource in the service, component, or reference. While configuring an application for deployment, the property of a resource instance in the node is mapped to the application.

Resource templates are defined at the enterprise, environment, or application level. A resource template defined at enterprise level is available to all environments and applications in the enterprise; a resource template defined at an environment level is available only to applications in that environment; a resource template defined at an application level is available only to that application.

You can create resource templates in two ways:
  • Manually using the command-line and web interfaces.
  • Automatically when you import the resource templates while creating an application.

In either case you must have enterprise permission to create a resource template.