Contains configured resources, such as database connections.
You must specify a Java Naming and Directory InterfaceTM (JNDI) name for each resource. To avoid collisions with names of other enterprise resources in JNDI, and to avoid portability problems, all names in an Enterprise Server application should begin with the string java:comp/env.
The following table describes subelements for the resources element.
Table 1–81 resources Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Defines a JDBC (Java Database Connectivity) resource. |
|
zero or more |
Defines the properties that are required for creating a JDBC connection pool. |
Subelements of a resources element can occur in any order.