File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Datasources and databases Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Datasources and databases" Watch "Datasources and databases" New topic

Datasources and databases

K Kiran Kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 109
I am a tyro in JDBC. I have some doubts on datasources and it's connection. You will be appreciated if you can help me with these questions.

What is a datasource?
Why are we using them to connect to databases? Can we connect to databases without these datasources?
What is JNDI? Is it related to database/datasource?
What are the types of datasources
Sunil Vasudevan
Ranch Hand

Joined: Mar 05, 2007
Posts: 107
The best way forward for a tyro would be read few documentation/tutorials on JDBC.

Please have a look at:

They will clear almost all queries you have...

Sunil.V<br />SCJP2, SCWCD1.4, SCBCD1.3
K Kiran Kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 109
Thanks Sunil. The URL that you gave helped me a lot.
I agree. Here's the link:
subject: Datasources and databases