Chapter 1 Web Server Setup and Configuration. Contents A.What is web server B.Installing and Configuring Web Server C.Testing the Installation.

Slides:



Advertisements
Similar presentations
WEB SERVICES. FIRST AND FOREMOST - LINKS Tomcat AXIS2 -
Advertisements

PHP syntax basics. Personal Home Page This is a Hypertext processor It works on the server side It demands a Web-server to be installed.
1 Web Servers / Deployment Alastair Dawes Original by Bhupinder Reehal.
Muhammad Taimoor Khan
Chapter 8: Web Server Hardware and Software. Electronic Commerce, Seventh Annual Edition2 Web Server Basics The main job of a Web server computer is to.
Configuring web servers and web applications 1. 2 Server configuration vs. application configuration A web server may run several web application Server.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Chapter 2: Application layer  2.1 Web, HTTP and HTML (We will continue…)  2.2 FTP  2.3 SMTP 9/22/2009 Lecture 7, MAT 279, Fall
Julien Thibault / Phil Brewster / Kristina Doing-Harris
CS 160: Software Engineering August 27 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
SERVLETS.
WebServer & Tomcat By B. Venkateswarlu M.Tech Assoc Prof IT(Dept) Newton’s Institute of Engineering.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Linux Operations and Administration
Web server and web browser It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol) Server takes a request.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Apache Tomcat Web Server SNU OOPSLA Lab. October 2005.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Web Administration.
Web Servers Installation and Configuration May 24, 2001 CIS System Administration Problem Statement The class topic is setting up a Linux server to support.
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
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 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
AN OVERVIEW OF SERVLET TECHNOLOGY SERVER SETUP AND CONFIGURATION WEB APPLICATION STRUCTURE BASIC SERVLET EXAMPLE Java Servlets - Compiled By Nitin Pai.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Web Engineering we define Web Engineering as follows: 1) Web Engineering is the application of systematic and proven approaches (concepts, methods, techniques,
Java Servlets Lec 27. Creating a Simple Web Application in Tomcat.
1 Welcome to CSC 301 Web Programming Charles Frank.
Chapter 2 An Overview of Servlet and JSP Technology.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
The HTTP is a standard that all Web browsers and Web servers must speak in order for the Web portion of the Internet to work.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 Introduction to Web Applications & APIs. 2 Agenda  Architecture of Web Applications Three layer architecture  Web Server (Tomcat) Installation Data.
Chapter 1 Server Setup and Configuration. Contents A.Installing and Configuring Web Server B.Testing the Installation.
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
Web Server.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Field Trip #24 Setting Up a Web Server. Apache Apache is one of the most successful open source web servers In 1995 the most popular web server was the.
Configuration Web Server Tomcat - Install JDK Install Tom cat Configure Tom cat for running Servlet C:\Program Files\Apache Software Foundation\Tomcat.
BZUPAGES.COM WEB SERVER PRESENTED TO: SIR AHMAD KAREEM.
Chapter 3 Servlet Basics. Contents A.Installing Eclipse WTP and configuring Tomcat B.Prime Number Problem C.Multiplication Table Problem.
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.
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
JAVA, JEE Training Introduction to Web Harinath Mallepally
Website Design and Construction Services and Standards.
1 Web Programming with Servlets & JSPs WEB APPLICATIONS – AN OVERVIEW.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
6/28/ A global mesh of interconnected networks (internetworks) meets these human communication needs. Some of these interconnected networks are.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Apache Tomcat & Quick Tutorial
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
CISC103 Web Development Basics: Web site:
Warm Handshake with Websites, Servers and Web Servers:
CISC103 Web Development Basics: Web site:
Web Page Concept and Design :
CIS 133 mashup Javascript, jQuery and XML
Installing Tomcat.
Presentation transcript:

Chapter 1 Web Server Setup and Configuration

Contents A.What is web server B.Installing and Configuring Web Server C.Testing the Installation

A. What is the web server The most common use of web servers is to host website, but there are other uses such as gaming, data storage, running enterprise applications, handling , FTP, or other web uses.gamingenterprise applications FTP The primary function of a web server is to store, process and deliver web pages to clientsweb pagesclients A user agent, commonly a web browser or web crawler, initiates communication by making a request for a specific resource using HTTP and the server responds with the content of that resource or an error message if unable to do so.user agentweb browserweb crawlerrequesterror message

A. What is the web server The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP)Hypertext Transfer Protocol (HTTP) Pages delivered are most frequently HTML documents, which may include images, style sheets and scripts in addition to text content. HTML documents imagesstyle sheetsscripts

Architecture

Some of popular web server Apache Tomcat Apache HTTP Server Microsoft IIS Server IMB Lotus Server Lighttpd Macromedia JRun, and Caucho Resin

B. Installing and Configuring Web Server 1.Installing Java 2.Installing Tomcat Web Server 3.Configuring Tomcat

1. Installing Java  Download JDK at vase/downloads/index.html and run it

2. Installing Tomcat Web Server Download tomcat Web Server at and run it Destination folder: C:\Program Files\Apache Software Foundation\Tomcat 8.0 (TOMCAT_DIR)

Port number: 7777

3. Configuring Tomcat Configuration file: TOMCAT_DIR/conf/server.xml 3.1. Specifying Server Port 3.2. Hosting a website 3.3. Manage tomcat user 3.4. Deploy war file

3.1. Specifying Server Port Change port from 7777 to 7878

3.2 Hosting web site

3.3. Manage tomcat user Open the configuration file TOMCAT_DIR/conf/tomcat-users.xml

3.4 Deploy web application (war file)

B. Testing the Installation 1. Starting Netbean IDE Create Web Application project “HelloTomcatApp” for testing: 2.1 Testing HTML 2.2 Testing JSP 2.3 Testing Servlet

1. Starting NetBean 8.0

2.1 Testing HTML Create hello.html to testing tomcat web server with html file

Using Firefox browser to access to hello.html

2.2. Testing JSP Create helloJSP.jsp in the “Web Pages” location to test JSP format

Using Firefox browser to access to helloJSP.jsp

2.3 Testing Servlet Create HelloServlet.java in the “Source Packages” location to test Servlet format

Running HelloServlet Using Firefox browser to access to helloServlet

References 1.Core Servlets And Java Server Pages, Volume 1, 2 nd Edition, Chapter 02.

Revision History