ODBC and JDBC Aggie Hoversten CSCI 397-16 Fall 1999.

Slides:



Advertisements
Similar presentations
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Advertisements

Lecture plan Information retrieval (from week 11)
Chapter 13 © 2000 Prentice Hall Chapter 13 Accessing the Database Server: ODBC, OLE DB, and ADO David M. Kroenke Database Processing © 2000 Prentice Hall.
SQL (Structured Query Language) X/OPEN Call Level Interface For SQL ODBC (Open DataBase Connectivity) API JDBC (Java DataBase Connectivity) API SQL (Structured.
DISTRIBUTED DATABASE. Centralized & Distributed Database  Single site database – centralized database –A database is located at a single site or distributed.
1 C. Shahabi Application Programming for Relational Databases Cyrus Shahabi Computer Science Department University of Southern California
IS4401 Project Technology Issues. Introduction This seminar covers Databases When to use a Database What Database to use Development Tools Visual Studio.
J2EE vs..NET Nigam Patel. Topics Background –Web Services, J2EE and.NET Similarities Differences Conclusion –Pros and Con (J2EE and.NET)
Session-01. Hibernate Framework ? Why we use Hibernate ?
Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.
CRYSTAL REPORTS Jacob Grogan. CRYSTAL REPORTS AND WHY IT’S USEFUL? “ Crystal Reports is a popular Windows-based report generation program that allows.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 12-1 David M. Kroenke’s Chapter Twelve: ODBC Database Processing: Fundamentals,
Web-based Software Development - An introduction.
Dale Roberts 8/24/ Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Getting connected.  Java application calls the JDBC library.  JDBC loads a driver which talks to the database.  We can change database engines without.
JDBC Vs. Java Blend Presentation by Gopal Manchikanti Shivakumar Balasubramanyam.
September 6, 2015 Connecting Client Applications to Informix Databases using IBM Informix Connect and ODBC James Edmiston Database Consultant Quest Information.
1 Java Database Connection (JDBC) There are many industrial-strength DBMS's commercially available in the market. Oracle, DB2, and Sybase are just a few.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
How to Configure Informix Connect and ODBC James Edmiston Informix DBA Consultant/Quest Information Systems, Inc. Informix User Forum 2005 Moving Forward.
CSE470 Software Engineering Fall Database Access through Java.
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
Fundamentals of Database Chapter 7 Database Technologies.
Advanced Java
Middleware at HVA Assignment 4.5 Brian Samson & Peter Troon.
Archivists' Toolkit - CRADLE Presentation, 10 Feb The Archivists’ Toolkit CRADLE Presentation 10 Feb
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
PHP Features. Features Clean syntax. Object-oriented fundamentals. An extensible architecture that encourages innovation. Support for both current and.
MIS 3023 Business Programming II Professor: Akhilesh Bajaj Introduction to JDBC © Akhilesh Bajaj, All Rights Reserved.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
Accessing Database using JDBC. JDBC Objectives Gain basic knowledge of Java JDBC Become familiar with the basics of interacting with a database using.
CSC 312 Lecture 10 JDBC - Basics. Network Client Machine Server Machine (raptor.cs.mercer.edu) Client Application Server Prog. (Oracle) Database (csc312std)
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 12-1 David M. Kroenke’s Chapter Twelve: ODBC, OLE DB, ADO, and ASP Part.
12/6/2015B.Ramamurthy1 Java Database Connectivity B.Ramamurthy.
JDBC
Copyright © Curt Hill Connectivity Communicating with the Database.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
Java JDBC API. A Java API To Access almost any kind of tabular data To Access almost any kind of tabular data Trademarked (not an acronym) Trademarked.
Scientific Visualization Java3D Object Controlling over PDA- Server Connection Sangyoon Oh
WEB SERVER SOFTWARE FEATURE SETS
Connectivity Solutions from DataDirect™ John Goodson Vice President, DataDirect, R&D.
CSI 3125, Preliminaries, page 1 JDBC. CSI 3125, Preliminaries, page 2 JDBC JDBC stands for Java Database Connectivity, which is a standard Java API (application.
Basics of JDBC Session 14.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
IAnywhere Solutions Mobile Computing on Linux Eyun Lindberg
ViaSQL Technical Overview. Viaserv, Inc. 2 ViaSQL Support for S/390 n Originally a VSE product n OS/390 version released in 1999 n Identical features.
JDBC Chapter 1 JDBC Introduction
In the Name Of Almighty Allah. Java Application Connection To Mysql Created by Hasibullah (Sahibzada) Kabul Computer Science Faculty Afghanistan.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
2 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Architecture.
R EMAINING TOPICS IN JDBC Sagun Dhakhwa. O VERVIEW Introduction to JDBC API Types of JDBC Drivers Introduction to ODBC.
Web-based Software Development - An introduction
DEPTT. OF COMP. SC & APPLICATIONS
Accessing the Database Server: ODBC, OLE DB, and ADO
ODBC, OCCI and JDBC overview
JDBC Database Management Database connectivity
Created by Kamila zhakupova
Java Database Connectivity
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
ODBC and JDBC.
Java API for Database Connectivity
Database Processing: David M. Kroenke’s Chapter Twelve: Part One
Introduction of Week 5 Assignment Discussion
Presentation transcript:

ODBC and JDBC Aggie Hoversten CSCI Fall 1999

Overview u ODBC and JDBC u Why was there a need? u Introduction u Architecture u Examples in use u Pros and Cons

Why the need for ODBC/JDBC? u DataBase Management Systems (DBMS) u Access to multiple DBMSs u Client/Server computing

ODBC/JDBC ODBC/JDBC User Client Machine SQL DBMS

Introduction to ODBC u Open DataBase Connectivity (ODBC) u Microsoft created in 1992 u Different programming languages use ODBC to access different DBMSs.

ODBC Architecture Client Application ODBC Driver Manager SQL Server ODBC Driver Oracle ODBC Driver DB2 ODBC Driver Informix ODBC Driver SQL Server Data Source Oracle Data Source DB2 Data Source Informix Data Source Generic Vertical Custom

ODBC Example Oracle Human Resources Dept. w/client machines DB2 SQL Server ODBC Insurance company Financial company

Introduction to JDBC u Java DataBase Connectivity (JDBC) u Sun Microsoft created in 1996 u JDBC is similar to ODBC u Java uses JDBC to connect to different DBMSs.

JDBC Architecture Client Application with JDBC API JDBC Driver Manager JDBC to ODBC Driver Driver to Sybase Driver to DB2 Driver to Oracle MS SQL Server Sybase SQL Server DB2 Data Source Oracle Database

JDBC Driver Quartet Client Application JDBC Driver Manager JDBC Drivers ODBC Driver Native Database API Net Protocol Data Type 1Type 2Type 3Type 4

ODBC Pros and Cons u Pros: u Highly efficient performance u No excessive memory u Understands many different programming languages u Drivers available for 55 DBMSs u Most widely used u The standard u Cons: u Difficult to learn and code u Few comands, but complex options

JDBC Pros and Cons u Pros: u Methods are simple and intuitive u Codes is easy to learn and program u Automatically installable u Portable u Cons: u Only for Java

Sumarry u ODBC and JDBC allow the client machine to connect to any DBMS on any platform. u Developers are not restricted. u Users and businesses have more control and choices of DBMSs.

References u The Microsoft Corporation, u Microsoft ODBC 3.0 Software Development Kit and Programmer’s Reference. Microsoft Press 1997 u B. Whiting, B. Morgan, and J. Perkins, ODBC Programming. Sams Publishing u Sun Microsystem Corporation, u C. Horstmann, and G. Cornell, Core Java - Volume II Advanced Features. Sun Microsystems Press 1998 u K Siyan, and J. Weaver, Inside Java. New Riders Publishing 1997