Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 15th, 2005, 05:23 PM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ms access using netbeans

hello new to the world of java. How would I connect to a ms access database using netbeans 4.0

Thank you

Reply With Quote
  #2 (permalink)  
Old April 16th, 2005, 11:56 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to merediths
Default

JDBC -- Java Databae Connectivity. It is a technology similiar to ODBC in that database vendors provide 'Database Drivers' that implement a generic interface to their database. For example, you would write your program to use the JDBC functions to access a database. Then your program will work with Access, SQL Server or Oracle just by changing the JDBC driver you use.
 In the Access case there's a generic JDCB<->ODBC bridge driver you would use, that lets you use any database that has ODBC drivers from Java. I'm going to assume you are using Windows since it's an access question, go to the ODBC ( or Data Sources Administrator, depending on your version of Windows) and create a new DSN (datasource name) corresponding to your database. Then use this as the DSN from your java program.
  Check out these links for a little background info:

 http://java.sun.com/products/jdbc/overview.html
 http://msdn.microsoft.com/library/de...on_to_odbc.asp
 http://java.sun.com/j2se/1.3/docs/gu...ridge.doc.html

Hope that Helps

Regards,
Meredith Shaebanyan



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the format of MS Excel Cells from MS Access hewstone999 Access VBA 0 March 7th, 2008 07:19 AM
Convert Ms Access report to MS Word doc kite Access 1 October 22nd, 2007 01:45 AM
Database migration MS Access 2003 to MS SQL 2000 ayazhoda SQL Server 2000 3 April 23rd, 2007 11:38 AM
MS ACCESS 2003 FRONTEND AND MS SQL SERVER 2005 DB mohankumar0709 SQL Server 2005 3 March 23rd, 2007 12:48 AM
MS Data Grid control in ms access application roshla_p Access VBA 5 October 16th, 2006 02:37 AM



All times are GMT -4. The time now is 11:00 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.