This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes How to connect Oracle with Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "How to connect Oracle with Java?" Watch "How to connect Oracle with Java?" New topic

How to connect Oracle with Java?

Daniel William

Joined: Nov 19, 2009
Posts: 4
I am completely new to Oracle with basic sql plus knowledge. I have installed Oracle 10g Release 2 and java 1.6 .
All i want to do is to connect Oracle with Java so that i can send queries and retrieve results. I found that we need a jdbc driver
and a odbc driver for connecting. How can i get them and how to install ? Or should i use another type of driver ?
Does Oracle have a server ?if yes , should I use it for accessing the database? What is the purpose of a server and how to use it?

Can someone explain?

Thanks in advance.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Check the JDBC Faq first.

[My Blog]
All roads lead to JavaRanch
Samuel Behrman
Ranch Hand

Joined: Oct 02, 2009
Posts: 49

check out the stuff here;

Good luck.

RAQ Report: Web-based Excel-like Java reporting tool.
I agree. Here's the link:
subject: How to connect Oracle with Java?
It's not a secret anymore!