1 MSCS 237 Overview of web technologies (A specific type of distributed systems)

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

Lecture plan Information retrieval (from week 11)
DT228/3 Web Development WWW and Client server model.
Languages for Dynamic Web Documents
Kyung Hee University 1 1 Application Layer. 2 Kyung Hee University Position of Application Layer.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Introduction to Web Database Processing
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
DT211/3 Internet Development Application Internet Development Application.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Web Interface Technology (CSE2030)
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Introduction to Web Interface Technology (CSE2030)
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Web-based Software Development - An introduction.
INTRODUCTION TO WEB DATABASE PROGRAMMING
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Chapter 1: Introduction to Web
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Chapter 4: Core Web Technologies
Introduction to Internet Programming (Web Based Application)
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
20-753: Fundamentals of Web Programming 1 Lecture 1: Introduction Fundamentals of Web Programming Lecture 1: Introduction.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
2-1 WEB DATABSE INTERFACING Colorado Technical University IT420.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
1 CS122B: Projects in Databases and Web Applications Spring 2015 Notes 03: Web-App Architectures Professor Chen Li Department of Computer Science CS122B.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
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.
Introduction and Principles Web Server Scripting.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
WEB SERVER SOFTWARE FEATURE SETS
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 21 Java Servlets Wed. 11/22/00 based on material.
Introduction to the World Wide Web & Internet CIS 101.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
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 Programming Language
Section 6.3 Server-side Scripting
WWW and HTTP King Fahd University of Petroleum & Minerals
Chapter 27 WWW and HTTP.
Presentation transcript:

1 MSCS 237 Overview of web technologies (A specific type of distributed systems)

2 OVERVIEW OF WEB SERVER TECHNOLOGY The World Wide Web (WWW) builds on existing computers, networks, and services to provide universal access to information through the use of Web browsers.

3 WWW TECHNOLOGIES The WWW builds on three important technologies: Universal Resource Locators (URLs). Hypertext Transfer Protocol (HTTP). Hypertext Markup Language (HTML).

4 UNIVERSAL RESOURCE LOCATOR URLs provide an address system for locating information anywhere on the Internet. The following URL points to a file at the domain yahoo.com. It specifies a web page that should be retrieved using the HTTP protocol.

5 HYPERTEXT TRANSFER PROTOCOL HTTP provides the communication framework between clients and servers on the Web. Defines a simple request/response conversation between the client and the server using methods. The GET method is used to retrieve information (e.g., a Web page). The POST method is used to store information on a server (e.g., input to a script).

6 HYPERTEXT MARKUP LANGUAGE HTML is used to create the multimedia hypertext documents that are displayed on Web browsers. HTML defines the structure and layout of a Web document by using a variety of tags and attributes. The following example shows the correct structure of a simple html page. (What the document is about) (All the information of the current document)

7 STATIC VERSUS DYNAMIC WEB PAGES Information displayed on a Web browser can either be retrieved from: Static files that are retrieved and displayed in a browser, or Dynamically generated files where the contents of a page displayed on a browser can vary due to the execution of software components.

8 DYNAMIC WEB PAGES Dynamically generated pages are especially useful for electronic commerce and other Web applications that use information from a database as a backend to drive the information displayed on a Web page. Examples: amazon.com ebay.com Numerous real-time airline flight tracking systems.

9 METHODS FOR DYNAMIC WEB PAGE GENERATION Common Gateway Interface (CGI) Java Applets Java Servlets Active Server Pages (ASP) Server-side JavaScript Java Server Pages (JSP)

10 COMMON GATEWAY INTERFACE (CGI) CGI scripts were one of the first methods for dynamic Web page generation. A Web server passes requests to an external program. The output of the external program is returned as a static file. Typically used with the Perl programming language. Inefficient since it creates a separate process for each request. CGI scripts pose security concerns since they execute as regular programs on the Web server system.

11 CGI - BASED WEB SERVER (Diagram from Web Server Technology, Morgan Kaufmann, N. Yeager and R. McGrath, 1996)

12 JAVA APPLETS Applets are Java programs that are embedded directly into HTML pages. An application designed to be executed from within another application. Applet byte code is downloaded to the client and executed by the browser when a browser downloads a page with a reference to an applet. Download time can be unacceptable for large applets. The applet will not run if the client is not using a compatible browser.

13 JAVA SERVLETS A Java servlet is a Java class that can be loaded dynamically to expand the functionality of a server. The Java servlet generates full HTML pages to be displayed on a Web browser. Executes in the Java Virtual Machine (JVM) on the server (thus solving the security problem associated with CGI).

14 JAVA SERVLETS vs. CGI & APPLETS Executes on the server (thus solving browser compatibility problems associated with applets). More efficient than CGI since servlets do not create separate processes for each request. Portable across operating systems and Web servers.

15 JAVA SERVLET-BASED WEB SERVER (Diagram from Web Server Technology, Morgan Kaufmann, N. Yeager and R. McGrath, 1996)

16 JAVA SERVLETS EXAMPLE Java servlets can also be used as server-side includes where the servlet is embedded inside of HTML. The JDBC example is a servlet based application that provides the capability to connect to any relational database registered as an ODBC data source.

17 ACTIVE SERVER PAGES (ASP) An HTML page that contains embedded code, such as VBScript or JScript. Separates the user interface from the underlying content generation. The embedded code is executed by the Web server before the page is sent to the browser.

18 SERVER-SIDE JAVASCRIPT A server-side scripting language from Netscape that is embedded in HTML pages. Web pages are pre-compiled on the server-side to improve performance. Limited Support.

19 JAVA SERVER PAGES (JSP) Extension of the Java Servlet API. Uses Java as a scripting language. Separates the user interface from the underlying content generation. Platform and server independent. Usually used in combination with Java Beans, which are Java objects with set and get methods.

20 References 3, ,00.asphttp:// 3, ,00.asp htmlhttp://java.sun.com/features/1997/nov/rmi. html ng/Programming/JDCBook/dist.htmlhttp://java.sun.com/developer/onlineTraini ng/Programming/JDCBook/dist.html r_proceeding.pdf