© Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 29.1 Multi-Tier Architecture 29.2 Web Servers.

Slides:



Advertisements
Similar presentations
4.01 How Web Pages Work.
Advertisements

 2004 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
 2002 Prentice Hall. All rights reserved. 1 Chapter 6 – Introduction to the Common Gateway Interface (CGI) Outline 6.1 Introduction 6.2 Client and Web.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Browser Basics Tutorial 2 Introduction to Microsoft Internet Explorer.
Introduction to Web Interface Technology (CSE2030)
Apache Tomcat Server Typical html Request/Response cycle
 2008 Pearson Education, Inc. All rights reserved Web Servers (IIS and Apache)
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
The Internet 8th Edition Tutorial 1 Browser Basics.
Browsing the World Wide Web. Spring 2002Computer Networks Applications Browsing Service Allows one to conveniently obtain and display information that.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
The Internet & Web Browsers Business Webpage Design Kelly Seale.
17 Web Servers (Apache and IIS)
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
With Internet Explorer 8© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Go! with Internet Explorer 8 Getting Started.
ASP.Net, Web Forms and Web Controls 1 Outline Introduction Simple HTTP Transaction System Architecture Creating and Running a Simple Web Form Example Web.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Web Application Introducing Visual Web Developer 2008 Express and the.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Chapter 1: Introduction to Web
Basics of Web Design 1 Copyright © 2016 Pearson Education, Inc., Hoboken NJ.
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introducing Web Controls Outline 29.1 Analyzing the.
Anatomy of a URL: Finding Broken Links Dr. Steve Broskoske Misericordia University.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Introducing.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Examining.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 1 1 Browser Basics Introduction to the Web and Web Browser Software Tutorial.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 32.1 Reviewing the Bookstore Application 32.2.
XP New Perspectives on the Internet, 4e Tutorial 2 1 Browser Basics Introduction to Microsoft Internet Explorer and Netscape Navigator.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Welcome to CSC 301 Web Programming Charles Frank.
Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 3-1.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 31.1 Reviewing the Bookstore Application 31.2.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 2.1 Test-Driving the Welcome Application 2.2.
Web Browsers  Web browser- software that you run on your computer to make it work as a web client.  Web Servers- Computers connected to the Internet.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization.
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2 Revised by Dr. T. Tran for CSI3140.
Living Online Lesson 3 Using the Internet IC3 Basics Internet and Computing Core Certification Ambrose, Bergerud, Buscge, Morrison, Wells-Pusins.
 2008 Pearson Education, Inc. All rights reserved. Chapter 17 Web Servers (Apache and IIS) Internet & World Wide Web How to Program, 5/e.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Introduction and Principles Web Server Scripting.
The Internet, Fourth Edition-- Illustrated 1 The Internet – Illustrated Introductory, Fourth Edition Unit B Understanding Browser Basics.
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Copyright © 2011 Pearson Addison-Wesley Web Servers and Projects Deployment Chapter 11 – Slide 1.
4.01 How Web Pages Work.
Web Technology Seminar
Apache Tomcat & Quick Tutorial
4.01 How Web Pages Work.
4.01 How Web Pages Work.
E-commerce | WWW World Wide Web - Concepts
E-commerce | WWW World Wide Web - Concepts
17 Web Servers (Apache and IIS)
Digital Planet: Tomorrow’s Technology and You
17 Web Servers (Apache and IIS)
4.01 How Web Pages Work.
Web Servers (IIS and Apache)
4.01 How Web Pages Work.
Presentation transcript:

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 29.1 Multi-Tier Architecture 29.2 Web Servers 29.3 Apache Tomcat Web Server 29.4 Test-Driving the Bookstore Application 29.5 Wrap-Up Tutorial 29 – Bookstore Application: Web Applications Introducing Apache Tomcat Web Server

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 2 Objectives In this tutorial, you will learn to: –Use the Apache Tomcat Web server to serve Web content to Web browser clients. –Request documents from a Web server. –Execute a Web application that uses Java Server Pages technology.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Multi-Tier Architecture Web applications –Java Server Pages JSP –HTML (HyperText Markup Language) Multi-Tier applications –n-tier applications –Tier Information tier –Data tier, bottom tier Middle tier –Business logic tier Client tier –Top tier

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Multi-Tier Architecture (Cont.) Figure 29.1 Three-tier application model.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Web Servers Web Server URL (Uniform Resource Locator) –Host –Domain Domain name (Web address) –Fully qualified domain name (FQDN) Top-level domain (TLD) –IP (Internet Protocol) address –Domain Name System (DNS) server –DNS Lookup

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server Figure 29.2 Locating the Java Development Kit. Copyright © The Apache Software Foundation ( All rights reserved.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Figure 29.3 Accepting the Tomcat license agreement. Copyright © The Apache Software Foundation ( All rights reserved.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Figure 29.4 Accepting Tomcat default installation options. Copyright © The Apache Software Foundation ( All rights reserved.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Figure 29.5 Choosing the default Tomcat installation directory. Copyright © The Apache Software Foundation ( All rights reserved. Tomcat installation default directory

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Figure 29.6 Tomcat installation process dialog. Copyright © The Apache Software Foundation ( All rights reserved.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Figure 29.7 Selecting a Tomcat administrator password. Copyright © The Apache Software Foundation ( All rights reserved.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Figure 29.8 Completing the Tomcat installation. Copyright © The Apache Software Foundation ( All rights reserved.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Copy the C:\Examples\Tutorial29\ CompletedApplication\bookstore directory to Tomcat’s webapps directory Figure 29.9 Copying the bookstore folder to webapps.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Apache Tomcat Web Server (Cont.) Figure Copying the database JAR files to the Bookstore Web application.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Test-Driving the Bookstore Application

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Test-Driving the Bookstore Application (Cont.) Figure Tomcat server output window.

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Test-Driving the Bookstore Application (Cont.) Figure HTML page that displays a form, with a list and a button. HTML page titleLocation of books.jsp pageHTML h1 header elementHTML paragraph elementHTML menu control used to display a list HTML input element with type submit used to display a button

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Test-Driving the Bookstore Application (Cont.) Figure Page that displays the selected books information. Address of bookInformation.jsp page When clicked, this link returns users to books.jsp

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Test-Driving the Bookstore Application Figure Deleting the bookstore folder from Tomcats webapps folder. Right click bookstore Select delete