This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBCDatasource and JDBC Standlone applcation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBCDatasource and JDBC Standlone applcation" Watch "JDBCDatasource and JDBC Standlone applcation" New topic

JDBCDatasource and JDBC Standlone applcation

Shivaranjani va

Joined: Jan 14, 2009
Posts: 3
Hi ,

I hav confusion with JDBCDatasource and JDBC Standlone applcation.What is main difference.In case of JDBCDatasource connection will return to connection pool or not?Please help me in this ..

Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30068

A JDBC datasource takes care of connection handling for you. It may be connection pooling or not. It could be implemented as a single connection. A datasource can be used in a standalone application or on an application server.

A JDBC standalone application just means an application with a mean method that accesses a database.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: JDBCDatasource and JDBC Standlone applcation
Similar Threads
Starting The Cloudscape database
EJB Deployment Descriptor
setting DataSource in J2ee
JDBC session
No suitable driver?