Chapter 8 Flashcards
What are the Client/Server architectures?
- Networked computing model
- Processes distributed between clients and servers
- Client-Workstation (PC, smartphone, tablet) that requests and uses a service
- Server - Powerful computer (PC/mini/mainframe) that provides a service
- For DBMS, server is a database server
- For the Internet, server is a web server
What are the three application logics in Client/Server systems?
- Presentation Logic
- Processing Logic
- Storage Logic
What are the components of Presentation Logic?
- Input - Keyboard/mouse
Output - Montior/Printer
* This is the GUI Interface *
What are the components of Processing Logic?
- I/O processing
- Business Rules
- Data Management
* These are Procedures, functions, and programs *
What are the components of Storage Logic?
- Data storage/retrieval
*This is DBMS activities*
What is application partitioning?
- Placing portions of the application code in different locations (client vs. server) after it is written.
What are the advatages of application partitioning?
- Improved performance
- Improved interoperability
- Balanced workloads
Two-tier client-server environments example
Where can processing logic be in a two-tier client-server environment?
- Client (Fat client)
- Server (thin client)
- Both (distributed environment
Three-tier and n-tier client-server environments example
Where is the processing logic in a three-tier and n-tier client server environment?
- At the application server or Web server
In a two-tier database server architectures what is the Client worksation responsible for?
- Presentation logic
- Data processing logic
- Business rules logic
What does the server perform in a two-tier database server architecture?
All data storage, access, and processing.
- Typically called a database server
*DBMS is only a server*
Database server architecture (two-tier architecture) example
What are the characteristics of two-tier client/server systems?
- Departmental in scope (few users)
- Not mission-critical
- Low transaction volumes
- Common programming languages are Java, VB .NET, C#
- Interface database via middleware, APIs
What is middleware?
Software that allows an application to interoperate with other software without requiring user to understand and code low-level operations
What is an Application Program Interface (API)?
Routines that an application uses to direct the performance of procedures by the computer’s operating system.
What are the common database APIs?
ODBC, ADO .NET, JDBC
What are the steps for using databases via middleware APIs?
- Identify and register a database driver.
- Open a connection to a database.
- Execute a query against the database.
- Process the results of the query.
- Repeat steps 3-4 as necessary.
- Close the connection to the database.
What are the components of a three-tier architecture?
- Client - (GUI interface (I/O processing)) - Browser or Mobile App to access
- Application server - (Business Rules) - Web Server
Database Server - Data storage - DBMS
What is a Thin Client?
- PC just for user interface and a little application processing. Limited or no data storage (sometimes no hard drive)
Generic three-tier architecture example