Results 1 to 4 of 4
- 01-07-2012, 12:19 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 24
- Rep Power
- 0
how to connect java project to db
guys my hw is to write an atm machine program profferssor want me to write basic atm machine but I want to develop my program I want to take information from a db I know sql and I created a db in netbeans but I dont know how to connect this db with my project I googled some info. first I should create a connection object in addition there must be a file with .connection extension but I dont know how to add this .
- 01-07-2012, 01:37 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
Re: how to connect java project to db
Your database vendor has made available an implementation of the JDBC framework. Put that .jar file in your classpath and you're in business; read the API documentation how to create a Connection object given the implementation.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 01-07-2012, 02:59 PM #3
Member
- Join Date
- Oct 2011
- Posts
- 24
- Rep Power
- 0
Re: how to connect java project to db
can you explain more clear and can you give link
-
Re: how to connect java project to db
Similar Threads
-
connect to oracle from java
By ahmadian in forum Advanced JavaReplies: 7Last Post: 05-15-2013, 04:15 PM -
Connect 4 Programming Project Help!
By Nouman in forum Java 2DReplies: 2Last Post: 05-31-2011, 06:41 PM -
connect Java applet with asp.net
By kha in forum Java AppletsReplies: 16Last Post: 05-06-2011, 10:33 PM -
Connect Java to SQL
By ŖàΫ ỏƒ Ңόρę in forum New To JavaReplies: 6Last Post: 12-31-2010, 11:16 AM -
how to connect java to mysql?
By ranvir in forum JDBCReplies: 2Last Post: 12-11-2010, 08:34 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks