DataSource is used in different ways,
in different applications.
All options are presented with some code examples. For more information, see the JDBC 2.0
Optional Package (formerly the JDBC 2.0 Standard Extension
API), and the JNDI documentation on the Oracle Java Web site.