New JDBC Resource

Use the New JDBC Resource page to create a new JDBC resource.

The New JDBC Resource page contains the following options.

JNDI Name

A unique name that identifies the JDBC resource. The JNDI name organizes and locates components within a distributed computing environment similarly to the way that card catalogs organize and represent locations of books in a library. Consequently, the JNDI name becomes an important method of accessing the JDBC resource. By convention, the name begins with the jdbc/ string, for example, jdbc/payrolldb. Don’t forget the forward slash. The name must contain only alphanumeric, underscore, dash, or dot characters.

Pool Name

The connection pool associated with the JDBC resource.

Description

A short description of the JDBC resource.

Status

If this option is enabled, the resource is available at runtime. This option is enabled by default.

Additional Properties

Additional properties for the JDBC resource. The GlassFishTM Serverdoes not define any additional properties for JDBC resources.

Related Tasks
Related asadmin Commands