


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Database systems lecture notes full.
Typology: Lecture notes
1 / 42
This page cannot be seen from the preview
Don't miss anything!



































Ā© 2013 Pearson Education, Inc. Publishing as Prentice Hall 1
th
Jeffrey A. Hoffer, V. Ramesh, Heikki Topi
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
ļ (^) Define terms ļ (^) Explain three components of client/server systems: presentation, processing, and storage ļ (^) Distinguish between two-tier and three-tier architectures ļ (^) Describe how to connect to databases in 2-tier systems using VB.NET and Java ļ (^) Describe key components and information flow in Web applications ļ (^) Describe how to connect to databases in 3-tier applications using JSP, PHP, and ASP .NET ļ (^) Explain the purpose of XML ļ (^) See how XQuery can be used to query XML documents ļ (^) Explain how XML fosters Web services and SOAs
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
GUI Interface Procedures, functions, programs DBMS activities Processing Logic Processing Logic ļ® (^) I/O processingI/O processing ļ® (^) Business rulesBusiness rules ļ® (^) Data managementData management Storage Logic Storage Logic ļ® (^) Data storage/retrievalData storage/retrieval Presentation Logic Presentation Logic ļ® (^) Inputākeyboard/mouseInputākeyboard/mouse ļ® (^) Outputāmonitor/printerOutputāmonitor/printer
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
ļ
ļ
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall FIGURE 8-2 COMMON LOGIC FIGURE 8-2 COMMON LOGIC DISTRIBUTIONS DISTRIBUTIONS b) Three-tier and n -tier client-server environments Processing logic will be at application server or Web server.
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
ļ Client workstation is responsible for ļ (^) Presentation logic
Data processing logic
Business rules logic ļ Server performs all data storage, access, and processing ļ (^) Typically called a database server ļØ DBMS is only on serverDBMS is only on server
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
ļ Departmental in scope (few users) ļ Not mission-critical ļ Low transaction volumes ļ Common programming languages:
Java, VB .NET, C# ļ Interface database via middleware, APIs
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
ļ (^) Middleware ā software that allows an application to interoperate with other software without requiring user to understand and code low-level operations ļ (^) Application Program Interface (API) ā routines that an application uses to direct the performance of procedures by the computerās operating system ļ (^) Common database APIs ā ODBC, ADO .NET, JDBC
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
ļ¬ (^) PC just for user interface and a little application processing. Limited or no data storage (sometimes no hard drive) GUI interface (I/O processing) Browser Business rules Web Server Data storage DBMS
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
Figure 8-7 A database-enabled intranet/Internet environment Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
Hypertext Markup Language (HTML) ļ (^) Markup language specifically for Web pages ļ (^) Standard Generalized Markup Language (SGML) ļ (^) Markup language standard ļ (^) Extensible Markup Language (XML) ļ (^) Markup language allowing customized tags ļ (^) XHTML ļ (^) XML-compliant extension of HTML ļ (^) JavaScript/VBScript ļ (^) Scripting languages that enable interactivity in HTML documents ļ (^) Cascading Style Sheets (CSS) ļ (^) Control appearance of Web elements in an HML document ļ (^) XSL and XSLT ļ (^) XMS style sheet and transformation to HTML Standards and Web conventions established by World Wide Web World Wide Web Consortium (W3C) Consortium (W3C)
Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall© 2013 Pearson Education, Inc. Publishing as Prentice Hall
ļ (^) .htm or .html requests handled by the Web server
ļ (^) .jsp, .aspx, and .php requests are routed to the application server ļ (^) Server-side processing by JSP servlet, ASP .NET application, ColdFusion, or PHP ļ (^) Database access via JDBC, ADO .NET, or other database middleware