A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
EJB and other Java EE Technologies
How to create Database connection using Datasource Mechanism approach
Joined: Apr 27, 2006
Apr 26, 2008 05:45:00
I want to know how to create the database connection using Datasource interface mechanism..
I want to know about the JNDI Lookup Mechanism, Connection pooling & singleton approach used in this mechanism to establish the connection..
It would be helpful if you can provide any example pls ..
Many thanks in advance !
author & internet detective
Joined: May 26, 2003
Apr 26, 2008 07:28:00
tutorial contains a description of this along with an example. After you read it, feel free to post a reply with any remaining questions.
OCA 8 book
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: How to create Database connection using Datasource Mechanism approach
Difference between DataSource and ConnectionPoolDataSource
How to actually create a Datasource
How to get the DataSource Object in the servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015