Meaningless Drivel is fun!*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBCDatasource and JDBC Standlone applcation" Watch "JDBCDatasource and JDBC Standlone applcation" New topic
Author

JDBCDatasource and JDBC Standlone applcation

Shivaranjani va
Greenhorn

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 ..

Thanks,
Shiva
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31054
    
162

Shiva,
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBCDatasource and JDBC Standlone applcation