XML and Database Interface Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University ODBC JDBC ADO DSO.

Slides:



Advertisements
Similar presentations
© Michael C. Rawlins Is XML Ready for Prime Time? When to use XML for Electronic Transactions for Your Business Michael C. Rawlins Rawlins EC Consulting.
Advertisements

The XML Server Dr. Zhiwang Fan
Overview Environment for Internet database connectivity
A Prototype Implementation of a Framework for Organising Virtual Exhibitions over the Web Ali Elbekai, Nick Rossiter School of Computing, Engineering and.
CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
Bridging the Technological Gap between Academia and Industry: Towards a Successful e-Commerce Graduate Program Yeong-Tae Song, Goran Trajkovski, Sungchul.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
Jaana Holvikivi1 XML: Summary and conclusions  XML standards  Software development and application interfaces  Data Base Management case: Oracle.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
B2B e-commerce standards for document exchange In350: week 13: Nov. 19,2001 Judith A. Molka-Danielsen.
Database Processing Applications Chapter Seven DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Chapter 14 Database Connectivity and Web Technologies
System Integration (Cont.) Week 7 – Lecture 2. Approaches Information transfer –Interface –Database replication –Data federation Business process integration.
W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application with a clean migration path from HTML 4.01 CSS: Style sheets.
Chapter 8: database application development
Client/Server Database Environment CISB344 Database 2  At the end of this chapter, you should be able to: › Define client/server systems, file server,
Web-based Software Development - An introduction.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
Database Systems: Design, Implementation, and Management Tenth Edition
Example XML Applications/Languages. Objectives To Review uses of XML To investigate some Language applications of XML XHTML RSS WML Web Services.
Pervasive e-commerce with XML Babak Esfandiari Carleton University Ottawa, Canada.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
UDDI ebXML(?) and such Essential Web Services Directory and Discovery.
XML Basics Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Extensible Meta Language Markup Language.
XML Transformations Eugenia Fernandez IUPUI. Stylesheet Technologies Browser-based Presentation HTML Cascading Stylesheets Programming-based Transformation.
Fundamentals of Database Chapter 7 Database Technologies.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
XML Browser 닉스테크 교육사업부 김찬
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
Interfacing Registry Systems December 2000.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Extensible Stylesheet Language Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University XSL-FO XSLT.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 8: Database Application Development Modern Database Management 10 th Edition Jeffrey.
Web Services for Satellite Emulation Development Kathy J. LiszkaAllen P. Holtz The University of AkronNASA Glenn Research Center.
Introduction to ADO Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Copyright © PASS Consulting Corp., Miami 2001 XX/1 XML Application Server.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
Business-to-Business Authors: Authors: Mladenka Jakovljevic, Prof. Dr. Veljko Milutinovic,
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Gaining and keeping competitive advantage through J2EE and XML interoperability Dimitri Maesfranckx Product Manager.
Jennifer Widom XML Data Introduction, Well-formed XML.
Types/Levels of Integration Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Presentation Data Functional.
© 2006 Altova GmbH. All Rights Reserved. Altova ® Product Line Overview.
Jon Bosak, Sun Microsystems Last revised XML, Java, and the future of the Web Presented and Annotated by Byung-Hoon Kang
WEB SERVER SOFTWARE FEATURE SETS
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
XML Tools (Chapter 4 of XML Book). What tools are needed for a complete XML application? n Fundamental components n Web infrasructure n XML development.
Using databases ActiveX Data Objects (ADO) Connecting to a database Reading data from a database Inserting, updating and deleting records Using databases.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
10/07/2016 XML and Its Applications and Transformation Dr. Md Maruf Hasan Assistant Professor, Information Systems CCSIT, King Faisal University.
Web-based Software Development - An introduction
XML Related Technologies
Chapter 15 Database Connectivity and Web Technologies
ASP and Database Connectivity
Database Processing Applications
XML Based Interoperability Components
Introduction to Internet Programming
XML Data Introduction, Well-formed XML.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
XML – An Introduction XML is getting a lot of attention right now, because of it leverages existing internet infrastructure and also because it enables.
Presentation transcript:

XML and Database Interface Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University ODBC JDBC ADO DSO

Information Information Age Processing Representation Storage Retrieval SearchSharing Management Interchange

IS there such a creation ? The Needs for Information Interchange  Power  Flexibility  Simplicity  Fault tolerance  Scalability  Interoperability  Open standard  Extensible  Character-based  Human-readable

IS There Such a Creation?  Power  Flexibility  Simplicity  Fault tolerance  Scalability  Interoperability  Open standard  Extensible  Character-based  Human-readable HTML SGML XML XXX ?XXX ??? X XXXX Criteria

Potential Applications of XML  Three-Tier Applications:  Personalized Web Site  On-Line Auction  E Commerce  Integration  Content Acquisition  Content Management  Portals  Publishing  Databases  Schemas management  Product Catalog  E-commerce vocabulary  Voice Transformation  Mobile XML Voice  Semantic Web  Knowledge Navigation  Metadata Description  Topic maps  Web services  Infrastructure

Types of Information Sharing  Information Posting /Publishing: Paper; CD-ROM; HTML/XHTML.  Data Integration: cXML (Ariba); tpaML (IBM); xCBL (ConmmerceOne); BizTalk (Microsoft); eCo (CommerceNet); eConcert (RosettaNet); ebXML (UN/CEFACT and OASIS).  Automated Trading: Electronic Data Interchange (EDI).

XML for Information Interchange CAD Package Word Processor Statistical Processing Spreadsheet Package XML XSL CSS XSL CSS

XSL CSS XML and Databases Interface XML Document Print out CD ROM Web WAP, etc. RDBMS OODBMS Other DBMSs ADO ODBC JDBC

XML Application Interfaces  ADO: ActiveX Data Objects  DOM: Document Object Model  DSO: Data Source Object  ODBC: Open DataBase Connectivity  JDBC: Java DataBase Connectivity  CSS: Cascading Style Sheets  XSL – XML Stylesheet Language

Wireless Integration XML HTML WML ASP / Java

XML XSL ASP / Java Wireless Integration

Application Interfaces for XML Document XML Application XML Parser XML DOM SAX DOM:Document Object Model SAX:Simple APIs for XML

ADO ODBC JDBC XSL CSS XML Application Connectors XML Document Print out CD ROM Web WAP, etc. RDBMS OODBMS Other DBMSs Applications DOM SAX

XML Information Retrieval Mechanism Application Programs / Browsers DOMDSO CSSXSL XML Documents XML SQL Data SQL Server Oracle Others ADO HTTP + SQL ODBC JDBC

Example of ADO <% dim cConn, rsData 'connects to the Access driver and Access database strProvider = "Driver={Microsoft Access Driver (*.mdb)}; DBQ="& server.mappath ("ROSTER.mdb") 'creates an instance of an Active Server component set cConn = Server.CreateObject("ADODB.Connection") 'opens the connection to the data base cConn.Open strProvider ‘SQL Query Set rsData = cConn.Execute("select * from roster") %>

Example of ODBC <% dim cConn, rsData ‘Setup ODBC Connection (ROSTER ID:sa) 'creates an instance of an Active Server component set cConn = Server.CreateObject("ADODB.Connection") 'opens the connection to the data base cConn.Open "ROSTER","sa","" ‘SQL Query Set rsData = cConn.Execute("select * from roster") %>

ODBC Example 2 <%set conn=server.createobject ("adodb.connection") conn.open "driver={Microsoft Access Driver (*.mdb)}; dbq="& server.mappath ("ROSTER.mdb") set rs=conn.execute("select * from roster") do while not rs.eof %>

ODBC Example 2 <% rs.movenext loop %>

DBMSs That Support XML  Oracle 8 i (1999):  Microsoft SQL Server (2000): 271/6/20.ASP 271/7/80.ASP  Informix (2000):  XML Repository (2001):

Thank You? Any Question?