


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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