Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

JavaEE Data Source: Overview

Configuration Options     Related Tasks     

A DataSource has a set of properties that identify and describe the real-world data source that it represents. These properties include information such as the location of the database server, the name of the database, and the network protocol to use to communicate with the server. In addition, a DataSource object works with a Java Naming and Directory Interface (JNDI) naming service. After a DataSource object is registered with a JNDI naming service, an application can use the JNDI API to access that DataSource object, which can then be used to connect to the data source it represents.

This page displays the general configuration of a deployed DataSource, such as the name that appears in the Deployments table of the Administration Console, the name of the WAR or EJB JAR file in which it is packaged, and the scope of the DataSource.

Configuration Options

Name Description
Deployment Name

The name of this deployment.

Module Name

The name of this module within the deployment.

EJB Name

The name of this EJB within the deployment.

Bean Name

The name of this data source within the deployment.

Scope

The scope of this data source.

  • Component: Names in this namespace are only shared within this component..
  • Module: Names in this namespace are shared by all components in a module. For example, the EJB components defined in an a ejb-jar.xml file.
  • Application: Names in this namespace are shared by all components and modules in an application. For example, the application-client, web, and EJB components in an .ear file.
  • Global: Names in this namespace are shared by all the applications in the server.

Related Tasks


Back to Top