Introduction to Web Technology. - Common Gateway Interface (CGI) - JavaScript - Java Servlet - RMI - JDBC - Swing - XML

Similar documents
-8*6-DYD6HPLQDU 6HUYOHW$UFKLWHFWXUHV 5DLQHU+LVV$QGUHDV.DSS 6<6725$*

Google Web Toolkit (GWT) Architectural Impact on Enterprise Web Application

Apache Jakarta Tomcat

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

Client/server is a network architecture that divides functions into client and server

Building Java Servlets with Oracle JDeveloper

Architecture Design For Web-based Application Systems. Instructor: Dr. Jerry Gao Class: CMPE296U

Efficiency of Web Based SAX XML Distributed Processing

Lecture 2. Internet: who talks with whom?

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

Enabling the Information Age

Chapter 1 Programming Languages for Web Applications

DeskNow. Ventia Pty. Ltd. Advanced setup. Version : 3.2 Date : 4 January 2007

The Internet Server. Hong Q. Bui Chris Zuleeg

Equipment Room Database and Web-Based Inventory Management

Performance Comparison of Database Access over the Internet - Java Servlets vs CGI. T. Andrew Yang Ralph F. Grove

Chapter 13 Computer Programs and Programming Languages. Discovering Computers Your Interactive Guide to the Digital World

Web Pages. Static Web Pages SHTML

3-Tier Architecture. 3-Tier Architecture. Prepared By. Channu Kambalyal. Page 1 of 19

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

CSE 510 Web Data Engineering

White paper. IBM WebSphere Application Server architecture

PHP Skills and Techniques

Latte Rapid Application Development. William Dunlap Product Manager Borland International

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

Syllabus INFO-GB Design and Development of Web and Mobile Applications (Especially for Start Ups)

Features of The Grinder 3

Web-Based Database Distributed Systems

A Comparison of Software Architectures for E-Business Applications

What Is the Java TM 2 Platform, Enterprise Edition?

The World Wide Web: History

Credits: Some of the slides are based on material adapted from

Syllabus INFO-UB Design and Development of Web and Mobile Applications (Especially for Start Ups)

A Layered Architecture based on Java for Internet and Intranet Information Systems

ICT 6012: Web Programming

ASP &.NET. Microsoft's Solution for Dynamic Web Development. Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon

2. Accessing Databases via the Web

ICS 434 Advanced Database Systems

CSE 203 Web Programming 1. Prepared by: Asst. Prof. Dr. Maryam Eskandari

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

MULTICULTURAL CONTENT MANAGEMENT SYSTEM

Transactions and the Internet

Virtual Credit Card Processing System

The Comparison of J2EE and.net for e-business

10. Java Servelet. Introduction

Application Monitoring using SNMPc 7.0

Evaluation of Load/Stress tools for Web Applications testing

EVALUATION OF SERVER-SIDE TECHNOLOGY FOR WEB DEPLOYMENT

ICAWEB424A Evaluate and select a web hosting service

DBMS Infrastructures and IT Career Recommendations. Jeff Fineberg November 21, 2011

Web Cloud Architecture

ICANWK414A Create a common gateway interface script

How To Understand The History Of The Web (Web)

HOW TO CONFIGURE PASS-THRU PROXY FOR ORACLE APPLICATIONS

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

WHITE PAPER. Domo Advanced Architecture

Introduction to Internet and WWW

Remote Data Collection and Analysis Tom Worlton Argonne National Laboratory

Executive summary. Table of Contents. Benefits of an integration platform. Technical paper Infor Cloverleaf Integration Suite

World Wide Web Aka The Internet. Karst Koymans. Friday, October 2, 2015

LAMP Server A Brief Overview

Web and e-business Technologies

For Course Details, visit:

Multimedia Systems Design

Web Programming Languages Overview

OFFSHORE SOFTWARE DEVELOPMENT

E-Business Technology : Web-Based Tools for Electronic Commerce. SMTP, POP, MIME, and IMAP. Page Delivery

Java Thin-Client Programming for a Network Computing Environment

E-commerce. business. technology. society. Kenneth C. Laudon Carol Guercio Traver. Third Edition. Copyright 2007 Pearson Education, Inc.

Databases Lesson 04 Client Server Computing and Adaptation

Case Studies of Running the Platform. NetBeans UML Servlet JSP GlassFish EJB

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

WEB PROGRAMMING DESKTOP INTERACTIVITY AND PROCESSING

Lesson Overview. Getting Started. The Internet WWW

Universität Karlsruhe (TH) Institut für Telematik Prof. Dr. S. Abeck. Cooperation & Management. Application Server. An Introduction

WEB DATABASE PUBLISHING

DB2 Connect for NT and the Microsoft Windows NT Load Balancing Service

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

IT6503 WEB PROGRAMMING. Unit-I

Electronic Commerce Engineering

QuickSpecs. Open Source Internet Solutions Version 5.5 for Tru64 UNIX OVERVIEW

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Agenda. Summary of Previous Session. Application Servers G Session 3 - Main Theme Page-Based Application Servers (Part II)

Design Approaches of Web Application with Efficient Performance in JAVA

Architecture and Mode of Operation

SequeLink Server for ODBC Socket

Short notes on webpage programming languages

End User Guide The guide for /ftp account owner

Sports Management Information Systems. Camilo Rostoker November 22, 2002

Constructing Control-Flow-Based Testing Tools for Web Application

M3-R3: INTERNET AND WEB DESIGN

Long haul product development

OVERVIEW HIGHLIGHTS. Exsys Corvid Datasheet 1

J2EE Promises and Customer Experiences

Web Development. How the Web Works 3/3/2015. Clients / Server

System requirements. Java SE Runtime Environment(JRE) 7 (32bit) Java SE Runtime Environment(JRE) 6 (64bit) Java SE Runtime Environment(JRE) 7 (64bit)

Preface. Motivation for this Book

Transcription:

Introduction to Web Technology - Common Gateway Interface (CGI) - JavaScript - Java Servlet - RMI - JDBC - Swing - XML

About Common Gateway Interface (CGI) What is the Common Gateway Interface (CGI)? The CGI connects Web servers to external applications. CGI can do two things. - It can gather information sent from a web browser to a web server, and make the information available to an external program. - CGI can send the output of a program to a Web browser that request it. Advantages of CGI: - Platform independence: Most web servers support CGI, including Unix: Apache, Netscape, NCSA, and CERN Windows NT: Netscape, Microsoft IIS, and O Reilly WebSite Macintosh: WebStar - Language independence: (Perl, TCL, C, C++ Visual Basic, AppletScript, Java) - Scalability: The simplicity of the CGI interface means that it is extremely scalable.

About Common Gateway Interface (CGI) How a CGI request is processed? 1. User fills out the form in the browser 2. Form submitted over the Internet 3. Server sends data to CGI application Web Browser Web Server CGI Application 5. Server sends the page to the browser 4. CGI processes the data and generates the HTML page

About Common Gateway Interface (CGI) CGI-based Architecture: Web browser application Web browser Internet Web Server script script script Web browser application

About Common Gateway Interface (CGI) The limitation and problems of CGI Problems: - Performance Every time a user requests a CGI script, the server must launch the CGI program, which takes processor time. When the CGI program is written in an interpreted language like Perl, then the program must run the entire Perl interpreter, and compile the program before it can be run, which takes even more processor time. For busy web sites running complex applications, the performance problem become critical issue. - It is free. --> not easy to sell the web server products with free software. - Not good to interact with database.(connecting issue) - Not flexible or powerful to generate dynamic HTML pages.

What is Java Servlets? About Java Servlet A servlet is a Java component that can be plugged into a Java-enabled web server to provide custom services. These services include: - new features - runtime changes to content - runtime changes to presentation - new standard protocols (such as FTP) - new custom protocols Objectives: - Serlvets are designed to work within a request/response processing model. The requests can come in the form of an HTTP, URL, FTP or c custom protocol. Protocol Support: The Servlet API provides a tight link between a server and servlets. This allows servlets to add new protocol support to a server. Any protocol that follows a request/response computing model can be implemented by a servlet. Including: HTTP, SMTP, POP, FTP

Advantages and Benifits: About Java Servlet - It provide a standard approach to extending server functionality without the limitations of CGI-based or server-specific approaches. - Java Serlvets are the perfect replacement for CGI-bin scripts because of: - much less resource-intensive - more nimble or dynamic - better performance on JavaWeb Server - They are fast, safe, reliable, and 100% pure Java. Applications: Java Servlets with Applets: Work hand in hand with applets, providing a high degree of interactivity and dynamic updating. E.g. a scheduling applet, could interact with a Java Servlet to provide a common calendar for a group of users. The applet provide interactive features, such as a scrolling calendar view, that are updated by the Java Servlet dynamically.

Applications: (Con t) Java Servlets with Applets: About Java Servlet Work hand in hand with applets, providing a high degree of interactivity and dynamic updating. E.g. a scheduling applet, could interact with a Java Servlet to provide a common calendar for a group of users. The applet provide interactive features, such as a scrolling calendar view, that are updated by the Java Servlet dynamically. Java Servlets for HTML Generation: - The most common for Java Servlets is to accept form input and generate HTML dynamically. - Servlets can be written to process HTML pages and customize them as they are sent to a client. C

Applications: (Con t) About Java Servlet Java Servlets for Middle Tiers: - The most common use of Java Servlets --> as part of middle tiers in enterprise networks, connecting SQL DB via JDBC. One advantage of middle tier processing is simply connection management. Other roles of middle tier include: - Business rule enforcement - Transaction management - Mapping clients to redundant set of servers - Supporting different types of clients such as pure HTML and Java capable clients Applet Internet Java Web Server Java Servlet Database Server JDBC Driver C

About XML Applications: (Con t) Java Servlets for Middle Tiers: - The most common use of Java Servlets --> as part of middle tiers in enterprise networks, connecting SQL DB via JDBC. One advantage of middle tier processing is simply connection management. Other roles of middle tier include: - Business rule enforcement - Transaction management - Mapping clients to redundant set of servers - Supporting different types of clients such as pure HTML and Java capable clients Applet Internet Java Web Server Java Servlet Database Server JDBC Driver C