Docsity

Database and Internet - Database Management - Lecture Slides, Slides of Database Management Systems (DBMS)

Partial preview of the text

Download Database and Internet - Database Management - Lecture Slides and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

Database and Internet

Objectives

  • List the four differences between the Internet database environment and the standard database environment.
  • Describe the database connectivity issues in the Internet environment.
  • Describe the expanded set of data types found in the Internet environment.

The Internet

  • E-mail
  • File transfers
  • Electronic commerce
    • Shop online
    • Bank online
    • Get news online
    • Get entertainment online
    • Etc.

Internet & Databases

  • Essence of e-commerce activity is data stored in databases.
  • Data for a company’s product selections comes from a database.
  • Your orders with a company go into a database.
  • Checking your bank account balance requires querying a database.

Internet & Non-Internet Database

Environment: Differences

  • Database Connectivity Issues
  • Expanded Set of Data Types
  • Database Control Issues
  • Data Extraction into XML

Database Connectivity Issues

  • In a simple database environment, the application program, DBMS, and data are all contained within a single computer (single or multi-user environment).

Database Connectivity Issues:

Client/Server Systems

  • When an end user wants to run an application or retrieve data from the shared database: - client computers handle the initial processing (the presentation or graphical user interface aspect) - the data is sent on to the server for processing by the application code, including data retrieval from the shared database. - server returns the results to the client PC. - client is responsible for formatting the screen display.

Database Connectivity Issues:

Client/Server System

  • Usually thought of as a system built on a LAN.
  • World Wide Web (WWW) can be considered

to be a massive client/server system built on the Internet.

Database Connectivity Issues:

Hardware Components of the Web -

Database Connectivity

  • There are three levels of computers in this arrangement: - the client PCs - the Web server - the database server.

Database Connectivity Issues:

Specialized Web Software for E-

Commerce

  • When a client’s browser sends a message to the Web server, message follows rules of the Transmission Control Protocol/Internet Protocol (TCP/IP).
  • All Internet traffic (including, e.g., e-mail) must follow TCP/IP.

Database Connectivity Issues: TCP/IP &

HTTP

  • TCP specifies how the message is broken up into smaller “packets” for transmission.
  • IP deals with the address of the computer to which the message is being sent.
  • HTTP indicates the type of browser in the client and other information needed to format Web pages.

Database Connectivity Issues: The

Web Database Environment

  • There can be different kinds of:
    • Hardware, even just between the Web server and the database server
    • Application software languages
    • Browsers on the client side
    • Data, not just data in relational databases.
  • Need specialized interfaces and specialized software known as middleware.

Database Connectivity Issues: ODBC

  • Open Database Connectivity
  • One standard way of accessing data.
  • Designed as an interface to relational

databases.

Database Connectivity Issues: JDBC

  • Java Database Connectivity
  • Another standard way of accessing data.
  • Designed as an interface to relational

databases.