Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture #3 2008 3 Apache.



Similar documents
Server-Side Web Development JSP. Today. Web Servers. Static HTML Directives. Actions Comments Tag Libraries Implicit Objects. Apache.

Internet Technologies. World Wide Web (WWW) Proxy Server Network Address Translator (NAT)

Computer Networks. Lecture 7: Application layer: FTP and HTTP. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview

HTTP. Internet Engineering. Fall Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

CTIS 256 Web Technologies II. Week # 1 Serkan GENÇ

1. When will an IP process drop a datagram? 2. When will an IP process fragment a datagram? 3. When will a TCP process drop a segment?

Basic Internet programming Formalities. Hands-on tools for internet programming

Outline Definition of Webserver HTTP Static is no fun Software SSL. Webserver. in a nutshell. Sebastian Hollizeck. June, the 4 th 2013

Data Communication I

TCP/IP Networking An Example

Application layer Web 2.0

Network Technologies

URLs and HTTP. ICW Lecture 10 Tom Chothia

World Wide Web. Before WWW

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

DEPLOYMENT GUIDE Version 1.1. Deploying the BIG-IP LTM v10 with Citrix Presentation Server 4.5

Using IPM to Measure Network Performance

Lecture 2. Internet: who talks with whom?

By Bardia, Patit, and Rozheh

CS640: Introduction to Computer Networks. Applications FTP: The File Transfer Protocol

reference: HTTP: The Definitive Guide by David Gourley and Brian Totty (O Reilly, 2002)

No. Time Source Destination Protocol Info HTTP GET /ethereal-labs/http-ethereal-file1.html HTTP/1.

Project #2. CSE 123b Communications Software. HTTP Messages. HTTP Basics. HTTP Request. HTTP Request. Spring Four parts

HTTP Protocol. Bartosz Walter

Developing XML Solutions with JavaServer Pages Technology

Apache Jakarta Tomcat


Connecting with Computer Science, 2e. Chapter 5 The Internet

Playing with Web Application Firewalls

Application Layer -1- Network Tools

THE PROXY SERVER 1 1 PURPOSE 3 2 USAGE EXAMPLES 4 3 STARTING THE PROXY SERVER 5 4 READING THE LOG 6

N-CAP Users Guide Everything You Need to Know About Using the Internet! How Firewalls Work

CloudOYE CDN USER MANUAL

The Internet, Intranets, and Extranets. What is the Internet. What is the Internet cont d.

Fachgebiet Technische Informatik, Joachim Zumbrägel

DEPLOYMENT GUIDE Version 1.0. Deploying the BIG-IP LTM with Apache Tomcat and Apache HTTP Server

HTTP - METHODS. Same as GET, but transfers the status line and header section only.

Internet Technologies 4-http. F. Ricci 2010/2011

Policy Guide Access Manager 3.1 SP5 January 2013

Hypertext for Hyper Techs

DEPLOYMENT GUIDE Version 2.1. Deploying F5 with Microsoft SharePoint 2010

Guide to DDoS Attacks December 2014 Authored by: Lee Myers, SOC Analyst

SSL VPN Server Guide. Access Manager 3.2 SP2. June 2013

Instructor: Betty O Neil

Network: several computers who can communicate. bus. Main example: Ethernet (1980 today: coaxial cable, twisted pair, 10Mb 1000Gb).

WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015

WIRIS quizzes web services Getting started with PHP and Java

SSL VPN Server Guide Access Manager 3.1 SP5 January 2013

Internet Technologies Internet Protocols and Services

Domain Name System (DNS)

Course Name: Course in JSP Course Code: P5

DEPLOYMENT GUIDE DEPLOYING THE BIG-IP LTM SYSTEM WITH CITRIX PRESENTATION SERVER 3.0 AND 4.5

Table of Contents. Open-Xchange Authentication & Session Handling. 1.Introduction...3

Pass Through Proxy. How-to. Overview:..1 Why PTP?...1

Basic & Advanced Administration for Citrix NetScaler 9.2

Xtreeme Search Engine Studio Help Xtreeme

DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP system v10 with Microsoft Exchange Outlook Web Access 2007

Web application development landscape: technologies and models

Deploying the Barracuda Load Balancer with Office Communications Server 2007 R2. Office Communications Server Overview.

Lecture 11 Web Application Security (part 1)

User-ID Features. PAN-OS New Features Guide Version 6.0. Copyright Palo Alto Networks

Web Application Development

Debugging With Netalyzr

Configuring Nex-Gen Web Load Balancer

The Web: some jargon. User agent for Web is called a browser: Web page: Most Web pages consist of: Server for Web is called Web server:

How to Run an Apache HTTP Server With a Protocol

DEERFIELD.COM. DNS2Go Update API. DNS2Go Update API

CS 5480/6480: Computer Networks Spring 2012 Homework 1 Solutions Due by 9:00 AM MT on January 31 st 2012

The Application Layer. CS158a Chris Pollett May 9, 2007.

The Web History (I) The Web History (II)

Chapter 1 Programming Languages for Web Applications

BorderWare Firewall Server 7.1. Release Notes

DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP System v10 with Microsoft IIS 7.0 and 7.5

Configuring Network Address Translation (NAT)

Course Number: IAC-SOFT-WDAD Web Design and Application Development

Introduction to Computer Security

Accessing Data with ADOBE FLEX 4.6

NQA Technology White Paper

How To Protect A Web Application From Attack From A Trusted Environment

CONTENT of this CHAPTER

Load Balancing using Pramati Web Load Balancer

Computer Networking LAB 2 HTTP

S y s t e m A r c h i t e c t u r e

Oct 15, Internet : the vast collection of interconnected networks that all use the TCP/IP protocols

10. Java Servelet. Introduction

CS514: Intermediate Course in Computer Systems

Evolution of the WWW. Communication in the WWW. WWW, HTML, URL and HTTP. HTTP Abstract Message Format. The Client/Server model is used:

Application-layer protocols

Oracle9i Application Server: Options for Running Active Server Pages. An Oracle White Paper July 2001

Apache Tomcat. Load-balancing and Clustering. Mark Thomas, 20 November Pivotal Software, Inc. All rights reserved.

Modern Web Development From Angle Brackets to Web Sockets

Chapter 27 Hypertext Transfer Protocol

This presentation discusses the new support for the session initiation protocol in WebSphere Application Server V6.1.

Chapter 12 Supporting Network Address Translation (NAT)

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt

Network Security TCP/IP Refresher

Transcription:

JSP, and JSP, and JSP, and 1 2 Lecture #3 2008 3 JSP, and JSP, and Markup & presentation (HTML, XHTML, CSS etc) Data storage & access (JDBC, XML etc) Network & application protocols (, etc) Programming & scripting languages (Java, JSP etc) Heterogenous network of networks More than 1 billion users Handles the web, e-mail, file transfers, instant messaging, telecommunication etc JSP, and JSP, and Protocol (IP) Packet-oriented Uses IP-addresses (130.239.8.60)

JSP, and World Wide () JSP, and Hypertext Markup Language (HTML) clients and servers More than 1 billion web pages on More than 100 million sites More than 170 million TLDs (May 2008) HTML, graphics, and components Transfered via (over ) Text-based Content + Markup Interpreted and visualized by browsers Constitutes a small part of the resulting network traffic JSP, and Extensible Hypertext Markup Language (XHTML) JSP, and Uniform Resource Locator (URL) XML version of HTML Well-formed XML document Can be parsed by any XML tool Treated by browsers as a new version of HTML http://www.cs.umu.se:80/kurser/5dv076/som-07/index.html Contains Protocol (http) Address (www.cs.umu.se) Port (80) Path (/kurser/5dv076/som-07/index.html) JSP, and Universally Unique Identifier (UUID) JSP, and Client 20269f4c-9111-4778-8f78-249fea2b2e6e Generated from MAC-addresses, timestamps, and random numbers Unique to a very high probability Requests resources via Interprets and presents the data retrieved Can be anything that requests data via Usually a web browser Uses URLs to reference resources Used as unique filenames, database ids etc

JSP, and Server JSP, and Domain Name System (DNS) Serves resources via Can be anything that serves data via Usually a dedicated server software May contain several pieces of software working together One server may serve several sites (and vice versa) A network of DNS servers Resolves IP-addresses www.umu.se = 130.239.8.60 130.239.8.60 = www.umu.se Large sites often clustered for performance JSP, and Proxy JSP, and Firewall Acts as an intermediary between clients and servers A web proxy can, e.g., Enforce access control Block, filter or alter information Cache information Anonymize traffic Perform network address translation Regulates traffic between networks A firewall can, e.g., Enforce access control Block, filter or alter connections Perform network address translation Be stateless, stateful or application-aware JSP, and Actors JSP, and Specifies how information is exchanged in networks In which order In what format Transport level and application level protocols Built in protocol stacks

JSP, and JSP, and Hypertext Transfer Protocol () Packet-switched transport protocols Transport: Protocol (IP) Reliable: Transmission Control Protocol (TCP) Unreliable: User Datagram Protocol (UDP) Each computer has (at least one) IP-address IP-addresses are resolved using DNS-systems Packets are routed from sender to receiver Text-based Application-level protocol (mostly used over TCP) Client-driven (requests and responses) Stateless (sessions are stored in cookies or rewritten URLs) Can handle text as well as binary data (encoded as text) Packets can be lost, delayed or arrive in any order JSP, and Request JSP, and GET Request Example Request line (method + URI + protocol) Headers (request information) Body (optional) GET /kurser/5dv076/som-07/test.html /1.1 Host: www.cs.umu.se JSP, and Response Status line (protocol + status code + reason phrase) Headers (response information) Body (response data) JSP, and Response Example /1.1 200 OK Date: Tue, 15 May 2007 14:25:27 GMT Server: /2.0.54 (Unix) Accept-Ranges: bytes Content-Length: 50 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 <html> <head> </head> <body> test </body> </html>

JSP, and Request Methods JSP, and HEAD Request HEAD - simulate a get request GET - retrieve resource POST - submit data to resource PUT - upload resource Used to retrieve meta-information (headers) Simulates GET request DELETE - delete resource TRACE - echo request No body (data) in response OPTIONS - query server for supported methods CONNECT - create tunnel JSP, and GET Request JSP, and POST Request Used to retrieve resources from web servers Parameters stored in query string (limited size) Used to submit (form) data to resources Data stored in request body Default method for data retrieval Default method for data storage JSP, and PUT Request JSP, and Response Status Codes Directs client behavior Used to upload resources Data stored (encoded) in request body 100-199 - informational 200-299 - request successful 300-399 - resource unavailable / moved 400-499 - client-side error 500-599 - server-side error

JSP, and JSP, and Server Software Foundation Non-profit organization developing open-source software http://www.apache.org/ A (patchy) web server Arrived early and helped shape the web Runs 50% of the world s web sites (May 2008) Serves and S requests Runs CGI-scripts for dynamic content Can host modules for PHP, JSP, ASP etc JSP, and Tomcat JSP, and Axis2 Servlet & JSP container with built-in web server Can run standalone or as a module in Serves and S requests Requests may have been forwarded from D Server Contains configuration and management tools Service framework Refactorization of Axis Contains tools for generating language bindings and interfaces Includes a Service hosting environment Can run as a module / web application in Tomcat JSP, and Ant JSP, and Derby A build tool for software development Make for Java Used to automate build, deployment and clean-up A Pure-Java relational database management system Can be embedded into Java programs No configuration required No management clients provided Databases accessible through JDBC

JSP, and Other Related Project JSP, and Struts - web application framework Jakarta - server-side Java projects Xalan - XSLT processor Xerces - A validating XML parser... JavaServer Pages (JSP)