wood burning stoves 2.0*
The moose likes JDBC and the fly likes database connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "database connection" Watch "database connection" New topic
Author

database connection

Sarthak Kanungo
Greenhorn

Joined: Sep 10, 2007
Posts: 13
how to connect database in java?
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

You can use Java Database Connectivity (jdbc).

Here's the jdbc homepage: http://java.sun.com/javase/technologies/database/index.jsp

Here's Sun's tutorial:
http://java.sun.com/docs/books/tutorial/jdbc/

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: database connection