File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC 2.0 DataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC 2.0 DataSource" Watch "JDBC 2.0 DataSource" New topic
Author

JDBC 2.0 DataSource

mike rittelmeyer
Greenhorn

Joined: Oct 12, 2001
Posts: 1
I am attempting to use the new DataSource object in JDBC 2.0 to create a connection pool to an Oracle DB from a servlet running under iPlanet 4.1. All of the documentation I've read refers to "defining and deploying the DataSource object before it can be used by a Java program...". The Oracle docs even give examples of the required definitions. All of this is great, but.... Where is the DataSource actually defined and stored??? Is it "defined and deployed" within Oracle? At the server?? Can I simply define the DataSource within my Java code?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC 2.0 DataSource