Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2005, 05:23 PM
Registered User
 
Join Date: Apr 2005
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

 
Old April 16th, 2005, 11:56 AM
Authorized User
 
Join Date: Jul 2003
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








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





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