blob: 48b6c52b05948afc61f7daba85015f172c44c3ee [file] [log] [blame]
<!--
Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<p><a id="ref-jdbc" name="ref-jdbc"></a><a id="GHJDB00019" name="GHJDB00019"></a></p>
<h4><a id="sthref28" name="sthref28"></a>JDBC</h4>
<a name="BEGIN" id="BEGIN"></a>
<p>Use the JDBC page to configure resources of the following types:</p>
<ul>
<li>
<p><a href="ref-jdbcresources.html">JDBC Resources</a></p>
</li>
<li>
<p><a href="ref-jdbcconnectionpools.html">Connection Pools</a></p>
</li>
</ul>
<p>Java DataBase Connectivity (JDBC) technology provides connectivity to relational databases. In the GlassFish Server, you configure database connectivity by adding JDBC resources (data sources) to the domain. A data source is a Java Platform, Enterprise Edition (Java EE platform) standard method of configuring connectivity to a database. Each data source contains a pool of database connections. Applications look up the data source on the Java Naming and Directory Interface (JNDI) API tree or in the local application context and then retrieve a database connection with the <code>getConnection</code> method. Data sources and their connection pools provide connection management processes that help keep your system running.</p>
<p>GlassFish Server includes a copy of the Java DB database and is preconfigured with the ability to access this database.</p>
<small>Copyright &#169; 2005, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small>