Tuesday, September 30, 2008

Using Data Sources

These are links to data source topics.
Sun Datasource has been extended by Oracle as OracleDataSource();
The library to include in your project in Jdeveloper is named Oracle JDBC.

You can provide database credentials to a datasource or use JNDI (Lookup). The avantage of using JNDI is that no credentials are hardcoded.

DataSource LookUp using JNDI
http://www.java2s.com/Code/Java/Database-SQL-JDBC/TestDataSourceLookUp.htm

Using Datasource providing ODBC parameters:
http://www.java2s.com/Code/Java/Database-SQL-JDBC/OracleDataSourceDemo.htm

Using JDBC Data Sources with ADF Business Components
http://www.oracle.com/technology/products/jdev/howtos/10g/usingdatasources/using_datasources.html

Sun datasource overview why to use JNDI
http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/getstart/datasource.html

Using OracleDataSource();
http://www.oracle.com/technology/products/oracle9i/daily/jun24.html




No comments: