A JDBC resource, also called a data source, lets you make connections to a database using getConnection. Create a JDBC resource in one of these ways:
In the Administration Console, open the Resources component, open the JDBC component, and select JDBC Resources. For details, click the Help button in the Administration Console.
Use the asadmin create-jdbc-resource command. For details, see the Oracle GlassFish Server 3.0.1 Reference Manual.