Jagadish Ramu: DataSource Resource Definition in Java EE 6
Jagadish Ramu writes about DataSource Resource Definition in Java EE 6:
Java EE applications use
DataSourceobjects when they access relational databases through the JDBC API.
DataSourcehas 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
DataSourceobject works with a Java Naming and
Directory Interface (JNDI) naming service. After a
DataSourceobject is registered with a JNDI naming service,
an application can use the JNDI API to access that
DataSourceobject, which can then be used to connect to the
datasource it represents...