An Overview of Java Database Connectivity Anthony NM

We examine the basic steps required to handle JDBC using javax.swing for creating user interfaces. If you're new to object-oriented programming to databases in Java, this will set you off on the right path.

Local Companies

Elcom Wire Center
915-298-1000
20 Butterfield Trail Blvd
EI Paso, TX
Diversified Technical Services Inc
915-544-7997
433 Executive Center Blvd
EI Paso, TX
Border Industrial Technology
915-544-6541
2111 E Yandell DR
EI Paso, TX
Access Computer Technology
915-629-7403
1212 N Yarbrough Dr
EI Paso, TX
Ecad Inc
915-590-9062
1200 Golden Key Cir
EI Paso, TX
PSI Software Inc
915-584-4100
7326 Remcon Cir
EI Paso, TX
Choice Consulting
915-541-1140
1717 Brown St
EI Paso, TX
Drapes Consulting Group
915-544-7346
809 E Yandell DR
EI Paso, TX
Business Services El Paso
915-540-7777
6044 Gateway Blvd E
EI Paso, TX
Auto Computer Services
915-590-3844
9921 Montana Ave
EI Paso, TX

provided by: 
Originally published at Internet.com


[This article assumes you have a basic understanding of Java application and applet programming.]

Suppose you have a set of records in an Access database that you have to view through a front-end tool. You can design a user interface by using various programming languages such as Visual Basic, Visual C++, etc. Java, however, provides a more consistent approach in developing these interfaces through the javax.swing package. Moreover, Java provides the Java Database Connectivity (JDBC) API, with which you can connect your app to any database designed either using Microsoft Access or SQL Server. In this article, we will examine the basic steps required to handle JDBC using javax.swing for creating user interfaces.

Before proceeding further, let us take a quick look at Microsoft's Object Database Connectivity (ODBC) and the preference of JDBC over ODBC. The ODBC API offers connectivity to almost all databases on almost all platforms and is the most widely used programming interface for accessing relational databases. But ODBC cannot be used directly with Java programs due to various reasons.

1. ODBC uses a C interface. This has drawbacks in security, implementation, robustness, etc. 2. ODBC makes use of pointers (which have been removed from Java)...

Read article at Internet.com site

Featured Local Company

PSI Software Inc

915-584-4100
7326 Remcon Cir
EI Paso, TX


Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML