Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology

Similar documents
Web Systems & Technologies: An Introduction

Shankersinh Vaghela Bapu Institue of Technology

Web Systems & Technologies: An Introduction

Inf 202 Introduction to Data and Databases (Spring 2010)

CS WEB TECHNOLOGY

HTML, XHTML, and CSS. Sixth Edition. Chapter 1. Introduction to HTML, XHTML, and

WebDev. Web Design COMBINES A NUMBER OF DISCIPLINES. Web Development Process DESIGN DEVELOPMENT CONTENT MULTIMEDIA

KINGS COLLEGE OF ENGINEERING 1

INTRODUCTORY INFORMATION TECHNOLOGY CREATING WEB-ENABLED APPLICATIONS. Faramarz Hendessi

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Discovering Computers Chapter 13 Programming Languages and Program Development

Lesson 5 Introduction to Cascading Style Sheets

Contents 1 INTRODUCTION TO COMPUTER NETWORKS...

Global Servers. The new masters

IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4.

Chapter 11 Program Development and Programming Languages

AIM. 10 September

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

A network is a group of two or more computers that are connected to share resources and information.

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS. INTRODUCTION TO INTERNET SOFTWARE DEVELOPMENT CSIT 2230 (formerly CSIT 2645)

Internet: An international network of connected computers. The purpose of connecting computers together, of course, is to share information.

Alpha College of Engineering and Technology. Question Bank

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

Exam : 9A Title : Adobe GoLive CS2 ACE Exam. Version : DEMO

Web Site Design and Development. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Page 1 of 4. Course Outline by Topic: Web Design Fall 2009 Instructor: Mr. O Connell Room 117

1Site Development Foundations Objectives and Locations

Unit 4. CRM - Web Marketing 4-1

JavaScript Context. INFO/CSE 100, Spring 2005 Fluency in Information Technology.

CPET 581 E-Commerce & Business Technologies. Topics

DDC Learning Web Design with Adobe CS5 Georgia Edition 2011

IT6503 WEB PROGRAMMING. Unit-I

Table of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side.

3. WWW and HTTP. Fig.3.1 Architecture of WWW

Internet Client-Server Systems 4020 A

Programming the World Wide Web by Robert W. Sebesta

Web Standards Mastering HTML5, CSS3, and XML

WWW Document Technologies

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

SAS Solutions for the Web: Static and Dynamic Alternatives Matthew Grover, S-Street Consulting, Inc.

Web Standards. Web Technologies. Web Standards. URI and URL

Chapter 1 Introduction to HTML, XHTML, and CSS

EEC-682/782 Computer Networks I

Developing Web Applications

1.1 A Brief Intro to the Internet

Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of

CMPE 151: Network Administration. Servers

Web Design and Application Development

FOR MORE PAPERS LOGON TO

Computational Web Portals. Tomasz Haupt Mississippi State University

ICOM 5016 Database Systems. Database Users. User Interfaces and Tools. Chapter 8: Application Design and Development.

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets

Computer Science 209. A.S. Degree Requirements. Department Offices. Faculty & Offices. Emeritus Faculty. Degrees & Certificates Awarded

Multimodality with XHTML+Voice

Web Frameworks MMIS 2 VU SS Denis Helic. March 10, KMI, TU Graz. Denis Helic (KMI, TU Graz) Web Frameworks March 10, / 18

1D CIW: Web Design Specialist. Course Outline. CIW: Web Design Specialist Apr 2018

MRK260. Week Two. Graphic and Web Design

Outline. Introduction to Java. What Is Java? History. Java 2 Platform. Java 2 Platform Standard Edition. Introduction Java 2 Platform

CIW: Web Design Specialist. Course Outline. CIW: Web Design Specialist. ( Add-On ) 16 Sep 2018

Reading How the Web Works

CS7026: Authoring for Digital Media. Introduction Markup Languages

Part III: Survey of Internet technologies

Introduction. WWW history. Application concepts, WWW and HTTP Perspectives on (mobile) communications. Fredrik Alstorp Torbjörn Söderberg

Planning and Designing Your Site p. 109 Design Concepts p. 116 Summary p. 118 Defining Your Site p. 119 The Files Panel p. 119 Accessing Your Remote

Web System and Technologies (Objective + Subjective)

DOWNLOAD OR READ : XML AND XSL TWO 1 HOUR CRASH COURSES QUICK GLANCE PDF EBOOK EPUB MOBI

TIRA: Text based Information Retrieval Architecture

Interchange formats. Introduction Application areas Requirements Track and object model Real-time transfer Different interchange formats Comparison

Programming the Web 06CS73 INTRODUCTION AND OVERVIEW. Dr. Kavi Mahesh, PESIT, Bangalore. Textbook: Programming the World Wide Web

Introduction p. 1 Basic Programming Introduction p. 7 Introduction to Python p. 7 Why Use Python? p. 10 Main Technical Features p.

MARKUP LANGUAGES. A brief history of Markup languages

1.264 Lecture 12. HTML Introduction to FrontPage

How A Website Works. - Shobha

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

Bridges To Computing

Chapter 10 Web-based Information Systems

UR what? ! URI: Uniform Resource Identifier. " Uniquely identifies a data entity " Obeys a specific syntax " schemename:specificstuff

Web Programming Paper Solution (Chapter wise)

Course title: WEB DESIGN AND PROGRAMMING

Data Presentation and Markup Languages

IT350 Web & Internet Programming. Fall 2012

Basics of Web. First published on 3 July 2012 This is the 7 h Revised edition

Publishing On the Web. Course Content. Objectives of Lecture 7 Dynamic Pages

Advanced Java Programming

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

1.1 A Brief Intro to the Internet

VTU Question Bank. UNIT 1 Introduction to WWW, XHTML

UNIT -II. Language-History and Versions Introduction JavaScript in Perspective-

Web Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 11 Test Bank

Chapter 13: Introduction to XML. Informatics Practices Class XII. By- Deepak Bhinde

Web Architecture AN OVERVIEW

13. Databases on the Web

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017

SAS/IntrNet 9.3. Overview. SAS Documentation

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

THE BCS PROFESSIONAL EXAMINATIONS BCS Level 5 Diploma in IT PRINCIPLES OF INTERNET TECHNOLOGIES. Specimen Answers

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Transcription:

Java Applets, etc. Instructor: Dmitri A. Gusev Fall 2007 CS 502: Computers and Communications Technology Lecture 25, December 5, 2007

CGI (Common Gateway Interface) CGI is a standard for handling forms' data. Example: Interfacing a database. Write a script (program) to interface between a database and the Web. Perl has been used since the early days of the Web to write CGI scripts. It is known as one of "the three Ps" (along with Python and PHP), the most popular dynamic languages for writing Web applications (which now also include Ruby). Store the script in the cgi-bin directory under an URL. When retrieves a page located in cgi-bin the HTTP server executes the script. Put the script name in the ACTION parameter of the form. The browser invokes the operation specified in METHOD (usually POST) The script is started and presented with the form input data. After the database retrieval the script produce an HTML file, which is sent back to the browser. This mechanism can be used to include selected ads in the Web page depending on what the user is looking for.

Translation of Java Programs A Java program is first compiled into a standard machine language called Bytecode. A software interpreter called the Java Virtual Machine (JVM) then takes the Bytecode program and executes it. Any machine that has a JVM can run the compiled Java program. Windows PC running JVM Bytecode program UNIX workstation running JVM Macintosh running JVM Java program Java compiler Program output Program output Program output

Java System for the Web A Java-to-bytecode compiler A browser that understands applets (<APPLET> tag) A bytecode interpreter

Java Applets A Java applet is a Java program designed to be embedded into an HTML document, transferred over the Web, and executed in a browser. <APPLET code= AssemblyLanguageApplet.class width=350 height=200></applet>

Application of Applets Implementing highly interactive Web pages Running applications and using remote servers or databases Adding animation and sound to the Web page without spawning and external viewer No need of standard for the Web protocols (HTTP, FTP etc.)

Security Issues Problem: running a program on the client's machine (possible crash, collecting private information, consuming resources) Solutions: First barrier: strong typed language - array bounds checking, no pointers (thus no memory access) Second barrier: bytecode verifier Third barrier: class loader (loading first system classes before looking for user classes) Fourth barrier: security measures built in the classes, e.g. file access class (asking user if the applet needs file access).

JSP Scriptlets A Java Server Page, or JSP, is a Web page that has JSP scriptlets embedded in them. <H1><% out.println( A HUGE HEADER ); %></H1> Unlike applets, the JSPs are executed on the server side. They help dynamically define the content of a Web page before it is shipped to the client.

XML The Extensible Markup Language, or XML, allows the author to define his or her own set of tags. XML is a metalanguage, i.e., a language used to define other languages. The Standard Generalized Markup Language (SGML) was used to define HTML. XML is a simplified version of SGML.

XSL The Extensible Stylesheet Language (or XSL) can be used to transform an XML document into other formats HTML PDA Document XML Document XSL MS Word Document Voice Synthesizer

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document. Internet Explorer 5.0 for the Macintosh, shipped in March of 2000, was the first browser to have full (better than 99 percent) CSS1 support.