Named datasources represent database connections used by Oracle Commerce Platform applications.
The modulelist-server-instance
attribute identifies a server-instance-type
, which in turn supplies a list of modules. The dbinit.xml
files for each of those modules are then used to generate the SQL and import scripts that run for the database.
You can declare named datasources in the product.xml
file for configuration by end-users.
<named-datasource id="management" modulelist-server-instance-
type="management">
<title resource-key="">Publishing</title>
<jndi>atgpub_ds</jndi>
</named-datasource>
In order for a named datasource to be used, it must be included in a server-instance-type that has at least one server instance. Each server-instance of that type will have the named data source’s JNDI registered with the application server.