Docsity

Clients and Software Architecture - Introduction to Databases - Lecture Slides, Slides of Introduction to Database Management Systems

Toggle sidebar
bg1
Web Client
Customer
Query Program
API
Personal
Oracle
MS Access
Java Client
Employee MySQL
Front half contains
API (Java calls) that
hide DB interactions
from Client
Back half is the implementation of
the classes that contains code to open
the database connection, perform a
query, collect results, etc.
Connect and
Interact with
any DBMS
Clients and Software Architecture
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download Clients and Software Architecture - Introduction to Databases - Lecture Slides and more Slides Introduction to Database Management Systems in PDF only on Docsity!

Web Client Customer

Query Program API

Personal Oracle

MS Access

Java Client Employee MySQL

Front half contains API (Java calls) that hide DB interactions from Client

Back half is the implementation of the classes that contains code to open the database connection, perform a query, collect results, etc.

Connect and Interact with any DBMS

Clients and Software Architecture

Phase III Project Requirements

  • Design! Design! Design!
  • Development! Development! Development!
  • Objectives of Phase III
    • Organize your Team
      • Database Creation and Maintenance
      • DB API (Middle Layer) Development
      • GUIs for Customers, Clerks, and Administrators
    • Finalize your Technologies
      • DB to Use
      • Middle Layer (C++, Java, etc.)
      • GUIs (Applications vs. html vs. 4GL)

Organize your Team

  • Objectives
    • Allow Team Members to Work in Parallel
    • Must Come to Agreement w.r.t. Common Software
    • Arrive at a Working Plan
    • Set Achievable Milestones/Deadlines for Team
  • Assigning Responsibilities:
    • 1 Person - Database Creation and Maintenance
    • 1 Person - DB API (Middle Layer) Development
    • 1 Person - GUIs

Database Creation and

• Objectives Maintenance

  • Choose your DBMS Platform
  • Install/Configure your DBMS Platform
  • SQL DDL (Create) for DB Schema
  • Creation of DB Tuples (use Excel File as Guide)
  • Responsibilities of DB Team Member
  • Writing/Testing SQL Queries
  • Maintain DB

• Encapsulates Database Software forMiddle Layer APIs

Querying/Storing

  • Login Programs
  • Query Program
    • Retrieval and Join in Support of Users
    • Traveler Profiles, Automobile Profiles, Reservations
    • Support for Report Generation
  • Registration Program
    • All Database Interactions for Registering a Customer
  • Traveler/Automobile Profile Update Program
    • Customer Can Make Changes to His/Her Profile
    • Administrator can Change/Define Automobile Profiles
  • Reservation Program
    • Clerks can Process Pick-Up/Drop Offs

• API Organizes and Hides the Database DesignWhat is an API?

and Implementation from Client Applications

  • Provides an OO Characterization that is

Consistent with Client View of Data/Access

  • Design/Prototype Five APIs:
    • Login Programs
    • Query Program
    • Registration Program
    • Traveler/Automobile Profile Update Program
    • Reservation Program

GUIs (Applications vs. html vs. 4GL)• Recall Five Programs

  • Login Programs
  • Query Program
  • Registration Program
  • Traveler/Automobile Profile Update Program
  • Reservation Program
  • Objective - Structure Four Programs (APIs) into

Two or More GUIs

  • Customer GUI - Reserve Cars, Change Profile, etc.
  • Clerk GUI - Pickup/Drop-off/Upgrade
  • Management GUI - Reports
  • You Must Define the Scope and Capability of

Each GUI that is Then Realized

Sample Java GUIs from CT Insurance

Dept.

Sample MS Access GUIs

Web Pages from CSE293 Project

Main Menu

Sample Reports from CT Insurance

Dept.

Sample Reports from CT Insurance

Dept.

GUI from CSE255 Spring 2003 Project

GUI from CSE255 Spring 2003 Project