Copyright © 2011 - Curt Hill Connectivity Communicating with the Database.

Slides:



Advertisements
Similar presentations
Publishing Your PDB Under Windows
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.
Copyright  Oracle Corporation, All rights reserved. 2 Java and Databases: An Overview.
The ADO Data Control. Universal Data Access Open Database Connectivity (ODBC) –standard for accessing data in databases OLE-DB –allows access to data.
SQL (Structured Query Language) X/OPEN Call Level Interface For SQL ODBC (Open DataBase Connectivity) API JDBC (Java DataBase Connectivity) API SQL (Structured.
ODBC and JDBC Aggie Hoversten CSCI Fall 1999.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Fundamentals, Design, and Implementation, 9/e COS 346 DAY 22.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Chapter 11 – Database-Oriented Middleware & EAI Database access is the key element to EAI, especially data-level EAI. Database oriented middleware is not.
Chapter 14 Database Connectivity and Web Technologies
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
Blue Group (ADO) 3/10/98 Universal Data Access with ActiveX Data Objects The Blue Group *Jennifer Kochan *Rebecca Orozco *Chris Papandria *Alicja Stanczak.
Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.
ODBC and JDBC What are they – libraries of function calls that support SQL statements Why do we need them –Provide a way for an application to communicate.
How Open is OpenInsight?
Overview of Database Access in.Net Josh Bowen CIS 764-FS2008.
Web-based Software Development - An introduction.
ODBC Open DataBase Connectivity a standard database access method developed by Microsoft to access data from any application regardless of which database.
CIS 764 – Presentation Somil Chandwani.  With Microsoft Data Access Components (MDAC), developers can connect to and use data from a wide variety of.
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.
September 6, 2015 Connecting Client Applications to Informix Databases using IBM Informix Connect and ODBC James Edmiston Database Consultant Quest Information.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
Database Systems: Design, Implementation, and Management Tenth Edition
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
Announcements Read JDBC Project Step 5, due Monday.
Using Visual Basic 6.0 to Create Web-Based Database Applications
DATABASE PROGRAMMING Lecture on 16 – 05 – PREVIOUS LECTURE QUIZ: - Some students were very creative in transforming 2NF to 3NF. Excellent! - Some.
Fundamentals of Database Chapter 7 Database Technologies.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
2-1 WEB DATABSE INTERFACING Colorado Technical University IT420.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
Introduction to ADO Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Kittiphan Techakittiroj (21/10/58 13:33 น. 21/10/58 13:33 น. 21/10/58 13:33 น.) Database Servers Kittiphan Techakittiroj
Copyright © Curt Hill SQL The Intergalactic Standard Database Query Language.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
Fundamentals, Design, and Implementation, 9/e by David M. Kroenke BSA206 Database Management Systems Lecture 21: Databases and the Web Chapters 12, 13.
DB MidWare CSIS 4490 N-Tier Client/Server Dr. Hoganson Database Middleware Early client/server database systems –Two tier –Server does business logic (data.
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
Java and Databases. JDBC Architecture Java Application JDBC API Data Base Drivers AccessSQL Server DB2InformixMySQLSybase.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
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.
ADO.NET Architecture MIS3502: Application Integration and Evaluation David Schuff Adapted from material by Arnold Kurtz, David.
Basics of JDBC Session 14.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
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
1 Mainframe Connectivity. 2 Access to ViaSQL Access Server n ViaSQL Direct and ViaSQL Integrator n TCP/IP –easier to set up –less configurable n APPC.
R EMAINING TOPICS IN JDBC Sagun Dhakhwa. O VERVIEW Introduction to JDBC API Types of JDBC Drivers Introduction to ODBC.
12 Copyright © 2004, Oracle. All rights reserved. Application Migration: Overview.
Web-based Software Development - An introduction
DEPTT. OF COMP. SC & APPLICATIONS
Accessing the Database Server: ODBC, OLE DB, and ADO
Java Database Connectivity
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
ODBC and JDBC.
Database Processing: David M. Kroenke’s Chapter Twelve: Part One
Introduction of Week 5 Assignment Discussion
Presentation transcript:

Copyright © Curt Hill Connectivity Communicating with the Database

Copyright © Curt Hill Introduction Most DBMSs are servers that respond to clients How do the two connect over a LAN, Intranet or the Internet? Numerous ways This discusses some of them

Locations If the server is running on the same machine as the client it is rather easy SQL Server likes: –Named pipes –TCP/IP –Shared memory If this is not the case then other options are needed Copyright © Curt Hill

Some of the possibilities CLI (Call Level Interface) ODBC (Open DataBase Connectivity) JDBC (Java DataBase Connectivity) Copyright © Curt Hill

CLI Call Level Interface Defined for C and COBOL language programs Standardized by ISO Determines the Application Program Interface between a program and a remote database –Program could be as simple as an SQL client or much more complicated Copyright © Curt Hill

ODBC Based on CLI Developed by Microsoft A driver that takes SQL commands –Translates them to specific DB –Transmits them to particular DB –Receives the result –Returns to the program Each DB manufacturer generally produces the ODBC driver for each platform Copyright © Curt Hill

ODBC Again Like any driver, the goal is to bridge the differences between DBMSs Eg. an application that deals with Oracle through the Oracle ODBC can change to SQL Server by only changing the ODBC The OS will have a ODBC driver manager –It chooses the best of the installed drivers for the DBMS in question Copyright © Curt Hill

JDBC Java DataBase Connectivity Connects Java appliations with DBMSs Usually just an interface to ODBC from within Java Copyright © Curt Hill

Some Others ADO – ActiveX Data Object The.NET version is how.NET programs communicate OLE DB – Object Linking and Embedding for DataBases Extends ODBC to allow access to programs that do not accept SQL Such as object databases and spreadsheets DAO – object oriented API Usually for local data sources RDO – remote data objects Uses DAO and ODBC Copyright © Curt Hill

Finally Each of these described protocols is middleware It sits between an application program and a target database Makes it easier to change databases with changing the application Copyright © Curt Hill