SlideShare a Scribd company logo
Database Systems: Design,
Implementation, and
Management
Eighth Edition
Chapter 14
Database Connectivity and Web
Technologies
Database Systems, 8th
Edition 2
Objectives
• In this chapter, you will learn:
– Different database connectivity technologies
– How Web-to-database middleware is used to
integrate databases with the Internet
– Web browser plug-ins and extensions
– Services provided by Web application servers
– What Extensible Markup Language (XML) is and
why it is important for Web database
development
Database Systems, 8th
Edition 3
Database Connectivity
• Mechanisms by which application programs
connect and communicate with data sources
– Also known as database middleware
• Data repository:
– Also known as a data source
– Represents the data management application
• Used to store data generated by an application
program
• ODBC, OLE-DB, ADO.NET: the backbone of
MS Universal Data Access (UDA) architecture
Database Systems, 8th
Edition 4
Native SQL Connectivity
• Connection interface provided by database
vendors
– Unique to each vendor
• Example: Oracle RDBMS
– Must install and configure Oracle’s SQL*Net
interface in client computer
• Interfaces optimized for particular vendor’s
DBMS
– Maintenance is a burden for the programmer
Database Systems, 8th
Edition 5
Database Systems, 8th
Edition 6
ODBC, DAO, and RDO
• Open Database Connectivity (ODBC)
– Microsoft’s implementation of a superset of SQL
Access Group Call Level Interface (CLI)
– Widely supported database connectivity
interface
– Any Windows application can access relational
data sources
– Uses SQL via standard application
programming interface (API)
Database Systems, 8th
Edition 7
ODBC, DAO, and RDO (continued)
• Data Access Objects (DAO)
– Object-oriented API
• Accesses MS Access, MS FoxPro, and dBase
databases from Visual Basic programs
– Provided an optimized interface that exposed
functionality of Jet data engine to programmers
– DAO interface can also be used to access other
relational style data sources
Database Systems, 8th
Edition 8
ODBC, DAO, and RDO (continued)
• Remote Data Objects (RDO)
– Higher-level object-oriented application interface
used to access remote database servers
– Uses lower-level DAO and ODBC for direct
access to databases
– Optimized to deal with server-based databases,
such as MS SQL Server, Oracle, and DB2
• Implemented as shared code dynamically
linked to Windows via dynamic-link libraries
Database Systems, 8th
Edition 9
Database Systems, 8th
Edition 10
ODBC, DAO, and RDO (continued)
• Basic ODBC architecture has three main
components:
– High-level ODBC API through which application
programs access ODBC functionality
– Driver manager that is in charge of managing all
database connections
– ODBC driver that communicates directly to
DBMS
Database Systems, 8th
Edition 11
Database Systems, 8th
Edition 12
Database Systems, 8th
Edition 13
OLE-DB
• Object Linking and Embedding for Database
• Database middleware that adds object-oriented
functionality for access to data
• Series of COM objects provides low-level
database connectivity for applications
• Functionality divided into two types of objects:
– Consumers
– Providers
Database Systems, 8th
Edition 14
OLE-DB (continued)
• OLE-DB did not provide support for scripting
languages
• ActiveX Data Objects (ADO) provides high-level
application-oriented interface to interact with
OLE-DB, DAO, and RDO
• ADO provides unified interface to access data
from any programming language that uses the
underlying OLE-DB objects
Database Systems, 8th
Edition 15
Database Systems, 8th
Edition 16
Database Systems, 8th
Edition 17
Database Systems, 8th
Edition 18
ADO.NET
• Data access component of Microsoft’s .NET
application development framework
• Two new features for development of
distributed applications:
– DataSet is disconnected memory-resident
representation of database
– DataSet is internally stored in XML format
• Data in DataSet made persistent as XML
documents
Database Systems, 8th
Edition 19
Database Systems, 8th
Edition 20
ADO.NET (continued)
• Specific objects manipulate data in data
source
– Connection
– Command
– DataReader
– DataAdapter
– DataSet
– DataTable
Database Systems, 8th
Edition 21
Java Database Connectivity (JDBC)
• Java is an object-oriented programming
language
– Runs on top of Web browser software
• Advantages of JDBC:
– Company can leverage existing technology and
personnel training
– Allows direct access to database server or
access via database middleware
– Provides a way to connect to databases through
an ODBC driver
Database Systems, 8th
Edition 22
Database Systems, 8th
Edition 23
Internet Databases
• Web database connectivity allows new
innovative services that:
– Permit rapid response by bringing new services
and products to market quickly
– Increase customer satisfaction through creation
of Web-based support services
– Yield fast and effective information
dissemination through universal access
Database Systems, 8th
Edition 24
Database Systems, 8th
Edition 25
Web-to-Database Middleware:
Server-Side Extensions
• Web server is the main hub through which
Internet services are accessed
• Dynamic Web pages are at the heart of current
generation Web sites
• Server-side extension: a program that
interacts directly with the Web server
– Also known as Web-to-database middleware
• Middleware must be well integrated
Database Systems, 8th
Edition 26
Database Systems, 8th
Edition 27
Web Server Interfaces
• Two well-defined Web server interfaces:
– Common Gateway Interface (CGI)
– Application Programming Interface (API)
• Disadvantage of CGI scripts:
– Loading external script decreases system
performance
– Language and method used to create script also
decrease performance
• API is more efficient than CGI
– API is treated as part of Web server program
Database Systems, 8th
Edition 28
The Web Browser
• Software that lets users navigate the Web
• Located in client computer
• Interprets HTML code received from Web
server
• Presents different page components in
standard way
• Web is a stateless system: Web server does
not know the status of any clients
Database Systems, 8th
Edition 29
Client-Side Extensions
• Add functionality to Web browser
• Three general types:
– Plug-ins
– Java and JavaScript
– ActiveX and VBScript
Database Systems, 8th
Edition 30
Database Systems, 8th
Edition 31
Client-Side Extensions (continued)
• Plug-in: an external application automatically
invoked by the browser when needed
• Java and JavaScript: embedded in Web page
– Downloaded with the Web page and activated
by an event
• ActiveX and VBScript: embedded in Web
page
– Downloaded with page and activated by event
– Oriented to Windows applications
Database Systems, 8th
Edition 32
Web Application Servers
• Middleware application that expands the
functionality of Web servers
– Links them to a wide range of services
• Some uses of Web application servers:
– Connect to and query database from Web page
– Create dynamic Web search pages
– Enforce referential integrity
• Some features of Web application servers:
– Security and user authentication
– Access to multiple services
Database Systems, 8th
Edition 33
Extensible Markup Language (XML)
• Companies use Internet to create new systems
that integrate their data
– Increase efficiency and reduce costs
• Electronic commerce enables organizations to
market to millions of users
• Most e-commerce transactions take place
between businesses
• HTML Web pages display in the browser
– Tags describe how something looks on the page
Database Systems, 8th
Edition 34
Extensible Markup Language (XML)
(continued)
• Extensible Markup Language (XML):
– Metalanguage to represent and manipulate data
elements
– Facilitates exchange of structured documents
over the Web
– Allows definition of new tags
• Case sensitive
• Must be well-formed and properly nested
• Comments indicated with <- and ->
• XML and xml prefixes reserved for XML tags only
Database Systems, 8th
Edition 35
Database Systems, 8th
Edition 36
Document Type Definitions (DTD)
and XML Schemas
• Document Type Definition (DTD)
– File with .dtd extension that describes elements
– Provides composition of database’s logical
model
– Defines the syntax rules or valid tags for each
type of XML document
• Companies engaging in e-commerce
transaction must develop and share DTDs
• DTD referenced from inside XML document
Database Systems, 8th
Edition 37
Database Systems, 8th
Edition 38
Database Systems, 8th
Edition 39
Database Systems, 8th
Edition 40
Document Type Definitions (DTD)
and XML Schemas (continued)
• XML schema
– Advanced data definition language
– Describes the structure of XML data documents
• Advantage of XML schema:
– More closely maps to database terminology and
features
• XML schema definition (XSD) file uses syntax
similar to XML document
Database Systems, 8th
Edition 41
Database Systems, 8th
Edition 42
XML Presentation
• XML separates data structure from presentation
and processing
• Extensible Style Language (XSL) displays XML
data
– Defines the rules by which XML data are
formatted and displayed
– Two parts:
• Extensible Style Language Transformations
(XSLT)
• XSL style sheets
Database Systems, 8th
Edition 43
Database Systems, 8th
Edition 44
Database Systems, 8th
Edition 45
Database Systems, 8th
Edition 46
XML Applications
• B2B exchanges
• Legacy systems integration
• Web page development
• Database support
• Database meta-dictionaries
• XML databases
• XML services
Database Systems, 8th
Edition 47
Summary
• Database connectivity:
– Ways in which programs connect and
communicate with data repositories
• Database connectivity software known as
database middleware
• Database repository also known as data source
– Represents data management application used
to store data generated by the program
• Microsoft interfaces are dominant players
– ODBC, OLE-DB, ADO.NET
Database Systems, 8th
Edition 48
Summary (continued)
• Microsoft’s Universal Data Access (UDA)
architecture
– Collection of technologies to access any type of
data source using common interface
• Native database connectivity: interface
provided by database vendor
– ODBC is Microsoft's implementation of SQL
Access Group Call Level Interface
• Allows any Windows application to access
relational data sources using SQL
Database Systems, 8th
Edition 49
Summary (continued)
• OLE-DB adds object-oriented functionality for
access to data
• ActiveX Data Objects provide interface with
OLE-DB, DAO, and RDO
• ADO.NET is data access component of
Microsoft .NET framework
• Java Database Connectivity (JDBC) interfaces
with Java applications with data sources
Database Systems, 8th
Edition 50
Summary (continued)
• Database access through the Web uses
middleware
• On client side of Web browser, use plug-ins,
Java and JavaScript, ActiveX, and VBScript
• On server side, middleware expands
functionality of Web servers
– Links them to wide range of services
• XML provides semantics to share structured
documents across the Web
– Produces description and representation of data

More Related Content

PDF
(eBook PDF) Systems Analysis and Design 10th by Kenneth E. Kendall
PPTX
Acid properties
PPT
Database administration and security
PPT
Fundamentals of Database ppt ch02
PPT
Chapter 2 database environment
PPTX
Odbms concepts
PPT
PPTX
Web Database
(eBook PDF) Systems Analysis and Design 10th by Kenneth E. Kendall
Acid properties
Database administration and security
Fundamentals of Database ppt ch02
Chapter 2 database environment
Odbms concepts
Web Database

What's hot (20)

PPT
Fundamentals of Database ppt ch01
PPTX
Deductive databases
PPT
data modeling and models
PPT
Introduction to .NET Framework
PPTX
Database systems - Chapter 2
PPTX
Multimedia Database
PPTX
Distributed dbms
PPT
Different data models
PPTX
Dbms slides
PPT
Elmasri Navathe DBMS Unit-1 ppt
PPTX
Presentation on Database management system
PPT
Fundamentals of Database system
PPTX
Client server architecture
PPT
Fundamentals of Database ppt ch03
PPTX
Multimedia Database
PPT
cloud computing:Types of virtualization
PPT
Database systems
PPTX
File system vs DBMS
PPT
Object Oriented Database Management System
Fundamentals of Database ppt ch01
Deductive databases
data modeling and models
Introduction to .NET Framework
Database systems - Chapter 2
Multimedia Database
Distributed dbms
Different data models
Dbms slides
Elmasri Navathe DBMS Unit-1 ppt
Presentation on Database management system
Fundamentals of Database system
Client server architecture
Fundamentals of Database ppt ch03
Multimedia Database
cloud computing:Types of virtualization
Database systems
File system vs DBMS
Object Oriented Database Management System
Ad

Viewers also liked (20)

PPT
Database design
PPT
Database administration and security
PPT
9780538469685 ppt ch12 1er exa
PPT
Database
PDF
Database Technologies for Semantic Web
PPT
Strategic planning
PPT
Introduction to project management
PPT
Entity relationship (er) modeling
PPT
Project integration management
PPT
Types of islamic institutions and records
PPT
Business intelligence and data warehouses
PPT
Advanced data modeling
PDF
Database design, implementation, and management -chapter04
PPT
The relational database model
PPT
Information system
PDF
Database design, implementation, and management -chapter02
PPT
Opportunities, threats, industry competition, and competitor analysis
PDF
Database Design and Implementation
PPT
Database Design Process
PPT
Information resource management
Database design
Database administration and security
9780538469685 ppt ch12 1er exa
Database
Database Technologies for Semantic Web
Strategic planning
Introduction to project management
Entity relationship (er) modeling
Project integration management
Types of islamic institutions and records
Business intelligence and data warehouses
Advanced data modeling
Database design, implementation, and management -chapter04
The relational database model
Information system
Database design, implementation, and management -chapter02
Opportunities, threats, industry competition, and competitor analysis
Database Design and Implementation
Database Design Process
Information resource management
Ad

Similar to Database connectivity and web technologies (20)

PPT
02010 ppt ch02
PDF
INF3703 - Chapter 17 Database Connectivity Web Technologies
PPT
Distributed database management systems
PDF
Metadata describes about data
PPTX
IS CH2 Database Management (p2)
PPT
Chapter01
PPT
Ena ch01
PPT
Ena ch01
PPTX
Overview of dbms
PPT
In this chapter, you will learn: About data modeling and why data models are ...
PPT
hierarchical_database_design_part_02.ppt
PPT
02010 ppt ch01
PDF
Comprehensive Guide to Effective Database Application Development Principles
PPT
Ch 8 Client Server
DOC
Java database programming with jdbc
PPTX
1 introduction
PPT
02010 ppt ch01
PPTX
DBMS Introduction: Database Users and Databases
PPT
IWMW 1997: Database-WWW Integration
PPT
Kellogg XML Holland Speech
02010 ppt ch02
INF3703 - Chapter 17 Database Connectivity Web Technologies
Distributed database management systems
Metadata describes about data
IS CH2 Database Management (p2)
Chapter01
Ena ch01
Ena ch01
Overview of dbms
In this chapter, you will learn: About data modeling and why data models are ...
hierarchical_database_design_part_02.ppt
02010 ppt ch01
Comprehensive Guide to Effective Database Application Development Principles
Ch 8 Client Server
Java database programming with jdbc
1 introduction
02010 ppt ch01
DBMS Introduction: Database Users and Databases
IWMW 1997: Database-WWW Integration
Kellogg XML Holland Speech

More from Dhani Ahmad (20)

PPT
Strategic information system planning
PPT
Islamic information seeking behavior
PPT
Islamic information management
PPT
Islamic information management sources in islam
PPT
The need for security
PPT
The information security audit
PPT
Security technologies
PPT
Security policy
PPT
Security and personnel
PPT
Secure
PPT
Risk management ii
PPT
Risk management i
PPT
Privacy & security in heath care it
PPT
Physical security
PPT
Legal, ethical & professional issues
PPT
Introduction to information security
PPT
Information security as an ongoing effort
PPT
Implementing security
PPT
Disaster recovery & business continuity
PPT
Chapter2 the need to security
Strategic information system planning
Islamic information seeking behavior
Islamic information management
Islamic information management sources in islam
The need for security
The information security audit
Security technologies
Security policy
Security and personnel
Secure
Risk management ii
Risk management i
Privacy & security in heath care it
Physical security
Legal, ethical & professional issues
Introduction to information security
Information security as an ongoing effort
Implementing security
Disaster recovery & business continuity
Chapter2 the need to security

Recently uploaded (20)

PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
SAP 2 completion done . PRESENTATION.pptx
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Introduction to machine learning and Linear Models
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
annual-report-2024-2025 original latest.
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPT
Quality review (1)_presentation of this 21
Data_Analytics_and_PowerBI_Presentation.pptx
Clinical guidelines as a resource for EBP(1).pdf
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
SAP 2 completion done . PRESENTATION.pptx
STERILIZATION AND DISINFECTION-1.ppthhhbx
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Miokarditis (Inflamasi pada Otot Jantung)
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
IBA_Chapter_11_Slides_Final_Accessible.pptx
Reliability_Chapter_ presentation 1221.5784
IB Computer Science - Internal Assessment.pptx
Introduction to machine learning and Linear Models
Database Infoormation System (DBIS).pptx
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
annual-report-2024-2025 original latest.
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Quality review (1)_presentation of this 21

Database connectivity and web technologies

  • 1. Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies
  • 2. Database Systems, 8th Edition 2 Objectives • In this chapter, you will learn: – Different database connectivity technologies – How Web-to-database middleware is used to integrate databases with the Internet – Web browser plug-ins and extensions – Services provided by Web application servers – What Extensible Markup Language (XML) is and why it is important for Web database development
  • 3. Database Systems, 8th Edition 3 Database Connectivity • Mechanisms by which application programs connect and communicate with data sources – Also known as database middleware • Data repository: – Also known as a data source – Represents the data management application • Used to store data generated by an application program • ODBC, OLE-DB, ADO.NET: the backbone of MS Universal Data Access (UDA) architecture
  • 4. Database Systems, 8th Edition 4 Native SQL Connectivity • Connection interface provided by database vendors – Unique to each vendor • Example: Oracle RDBMS – Must install and configure Oracle’s SQL*Net interface in client computer • Interfaces optimized for particular vendor’s DBMS – Maintenance is a burden for the programmer
  • 6. Database Systems, 8th Edition 6 ODBC, DAO, and RDO • Open Database Connectivity (ODBC) – Microsoft’s implementation of a superset of SQL Access Group Call Level Interface (CLI) – Widely supported database connectivity interface – Any Windows application can access relational data sources – Uses SQL via standard application programming interface (API)
  • 7. Database Systems, 8th Edition 7 ODBC, DAO, and RDO (continued) • Data Access Objects (DAO) – Object-oriented API • Accesses MS Access, MS FoxPro, and dBase databases from Visual Basic programs – Provided an optimized interface that exposed functionality of Jet data engine to programmers – DAO interface can also be used to access other relational style data sources
  • 8. Database Systems, 8th Edition 8 ODBC, DAO, and RDO (continued) • Remote Data Objects (RDO) – Higher-level object-oriented application interface used to access remote database servers – Uses lower-level DAO and ODBC for direct access to databases – Optimized to deal with server-based databases, such as MS SQL Server, Oracle, and DB2 • Implemented as shared code dynamically linked to Windows via dynamic-link libraries
  • 10. Database Systems, 8th Edition 10 ODBC, DAO, and RDO (continued) • Basic ODBC architecture has three main components: – High-level ODBC API through which application programs access ODBC functionality – Driver manager that is in charge of managing all database connections – ODBC driver that communicates directly to DBMS
  • 13. Database Systems, 8th Edition 13 OLE-DB • Object Linking and Embedding for Database • Database middleware that adds object-oriented functionality for access to data • Series of COM objects provides low-level database connectivity for applications • Functionality divided into two types of objects: – Consumers – Providers
  • 14. Database Systems, 8th Edition 14 OLE-DB (continued) • OLE-DB did not provide support for scripting languages • ActiveX Data Objects (ADO) provides high-level application-oriented interface to interact with OLE-DB, DAO, and RDO • ADO provides unified interface to access data from any programming language that uses the underlying OLE-DB objects
  • 18. Database Systems, 8th Edition 18 ADO.NET • Data access component of Microsoft’s .NET application development framework • Two new features for development of distributed applications: – DataSet is disconnected memory-resident representation of database – DataSet is internally stored in XML format • Data in DataSet made persistent as XML documents
  • 20. Database Systems, 8th Edition 20 ADO.NET (continued) • Specific objects manipulate data in data source – Connection – Command – DataReader – DataAdapter – DataSet – DataTable
  • 21. Database Systems, 8th Edition 21 Java Database Connectivity (JDBC) • Java is an object-oriented programming language – Runs on top of Web browser software • Advantages of JDBC: – Company can leverage existing technology and personnel training – Allows direct access to database server or access via database middleware – Provides a way to connect to databases through an ODBC driver
  • 23. Database Systems, 8th Edition 23 Internet Databases • Web database connectivity allows new innovative services that: – Permit rapid response by bringing new services and products to market quickly – Increase customer satisfaction through creation of Web-based support services – Yield fast and effective information dissemination through universal access
  • 25. Database Systems, 8th Edition 25 Web-to-Database Middleware: Server-Side Extensions • Web server is the main hub through which Internet services are accessed • Dynamic Web pages are at the heart of current generation Web sites • Server-side extension: a program that interacts directly with the Web server – Also known as Web-to-database middleware • Middleware must be well integrated
  • 27. Database Systems, 8th Edition 27 Web Server Interfaces • Two well-defined Web server interfaces: – Common Gateway Interface (CGI) – Application Programming Interface (API) • Disadvantage of CGI scripts: – Loading external script decreases system performance – Language and method used to create script also decrease performance • API is more efficient than CGI – API is treated as part of Web server program
  • 28. Database Systems, 8th Edition 28 The Web Browser • Software that lets users navigate the Web • Located in client computer • Interprets HTML code received from Web server • Presents different page components in standard way • Web is a stateless system: Web server does not know the status of any clients
  • 29. Database Systems, 8th Edition 29 Client-Side Extensions • Add functionality to Web browser • Three general types: – Plug-ins – Java and JavaScript – ActiveX and VBScript
  • 31. Database Systems, 8th Edition 31 Client-Side Extensions (continued) • Plug-in: an external application automatically invoked by the browser when needed • Java and JavaScript: embedded in Web page – Downloaded with the Web page and activated by an event • ActiveX and VBScript: embedded in Web page – Downloaded with page and activated by event – Oriented to Windows applications
  • 32. Database Systems, 8th Edition 32 Web Application Servers • Middleware application that expands the functionality of Web servers – Links them to a wide range of services • Some uses of Web application servers: – Connect to and query database from Web page – Create dynamic Web search pages – Enforce referential integrity • Some features of Web application servers: – Security and user authentication – Access to multiple services
  • 33. Database Systems, 8th Edition 33 Extensible Markup Language (XML) • Companies use Internet to create new systems that integrate their data – Increase efficiency and reduce costs • Electronic commerce enables organizations to market to millions of users • Most e-commerce transactions take place between businesses • HTML Web pages display in the browser – Tags describe how something looks on the page
  • 34. Database Systems, 8th Edition 34 Extensible Markup Language (XML) (continued) • Extensible Markup Language (XML): – Metalanguage to represent and manipulate data elements – Facilitates exchange of structured documents over the Web – Allows definition of new tags • Case sensitive • Must be well-formed and properly nested • Comments indicated with <- and -> • XML and xml prefixes reserved for XML tags only
  • 36. Database Systems, 8th Edition 36 Document Type Definitions (DTD) and XML Schemas • Document Type Definition (DTD) – File with .dtd extension that describes elements – Provides composition of database’s logical model – Defines the syntax rules or valid tags for each type of XML document • Companies engaging in e-commerce transaction must develop and share DTDs • DTD referenced from inside XML document
  • 40. Database Systems, 8th Edition 40 Document Type Definitions (DTD) and XML Schemas (continued) • XML schema – Advanced data definition language – Describes the structure of XML data documents • Advantage of XML schema: – More closely maps to database terminology and features • XML schema definition (XSD) file uses syntax similar to XML document
  • 42. Database Systems, 8th Edition 42 XML Presentation • XML separates data structure from presentation and processing • Extensible Style Language (XSL) displays XML data – Defines the rules by which XML data are formatted and displayed – Two parts: • Extensible Style Language Transformations (XSLT) • XSL style sheets
  • 46. Database Systems, 8th Edition 46 XML Applications • B2B exchanges • Legacy systems integration • Web page development • Database support • Database meta-dictionaries • XML databases • XML services
  • 47. Database Systems, 8th Edition 47 Summary • Database connectivity: – Ways in which programs connect and communicate with data repositories • Database connectivity software known as database middleware • Database repository also known as data source – Represents data management application used to store data generated by the program • Microsoft interfaces are dominant players – ODBC, OLE-DB, ADO.NET
  • 48. Database Systems, 8th Edition 48 Summary (continued) • Microsoft’s Universal Data Access (UDA) architecture – Collection of technologies to access any type of data source using common interface • Native database connectivity: interface provided by database vendor – ODBC is Microsoft's implementation of SQL Access Group Call Level Interface • Allows any Windows application to access relational data sources using SQL
  • 49. Database Systems, 8th Edition 49 Summary (continued) • OLE-DB adds object-oriented functionality for access to data • ActiveX Data Objects provide interface with OLE-DB, DAO, and RDO • ADO.NET is data access component of Microsoft .NET framework • Java Database Connectivity (JDBC) interfaces with Java applications with data sources
  • 50. Database Systems, 8th Edition 50 Summary (continued) • Database access through the Web uses middleware • On client side of Web browser, use plug-ins, Java and JavaScript, ActiveX, and VBScript • On server side, middleware expands functionality of Web servers – Links them to wide range of services • XML provides semantics to share structured documents across the Web – Produces description and representation of data