Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

Lecture 11 Server Side Interaction
DT228/3 Web Development WWW and Client server model.
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.
Time Scalability Single User Unlimited Users 100s of Users Several Users PC based Single user Late 1980sNow PC based, file-level locking Single user or.
DT211/3 Internet Development Application Internet Development Application.
Introduction to Web Interface Technology (CSE2030)
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Apache Tomcat Server Typical html Request/Response cycle
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
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.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Session-01. What is a Servlet? Servlet can be described in many ways, depending on the context: 1.Servlet is a technology i.e. used to create web application.
SE-2840 Dr. Mark L. Hornick1 Java Servlet-based web apps Servlet Architecture.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
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)
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
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.
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.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
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.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to Internet Programming (Web Based Application)
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
COMP 321 Week 7. Overview HTML and HTTP Basics Dynamic Web Content ServletsMVC Tomcat in Eclipse Demonstration Lab 7-1 Introduction.
Chapter 4 Networking and the Internet. © 2005 Pearson Addison-Wesley. All rights reserved 4-2 Chapter 4: Networking and the Internet 4.1 Network Fundamentals.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
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 
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 1 Key Concepts 1.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
Chapter 4 Applets Cop Why Applets? WWW makes huge information available to anyone with web browser. Web server send web pages and images to your.
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.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Introduction and Principles Web Server Scripting.
CS 6401 The World Wide Web Outline Background Structure Protocols.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Introduction to the World Wide Web & Internet CIS 101.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
National College of Science & Information Technology.
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.
Tonga Institute of Higher Education IT 141: Information Systems
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
WWW and HTTP King Fahd University of Petroleum & Minerals
4166 Review.
Chapter 27 WWW and HTTP.
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
INFS 230 L Internet Technology
Presentation transcript:

Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web

Chapter 17 - Deploying Java Applications on the Web2 Client-Server Model  Web applications are based on a form of distributed processing called client-server computing  Client requests an action and the server performs it  Internet is based on client-server model  Web browser requests a page  Web server returns the requested page to browser 1

Chapter 17 - Deploying Java Applications on the Web3 Typical Client-Server Exchange  Client computer issues a request to the Web server  Web server gathers necessary data, carries out the logic to fulfill the request, and returns the results to the client  Web applications is commonly handled with Java applets or HTML (Hyper text Markup Language) 1 17

Chapter 17 - Deploying Java Applications on the Web4 Typical Client-Server Exchange

Chapter 17 - Deploying Java Applications on the Web5 Creating the User Interface  Deciding on whether to use HTML or applets requires careful consideration  Applets may require resources the client doesn’t have  Applets can’t read/write files on the client  Applets take time to download  Thin client applications are those that minimize processing requirements on the client  HTML is used to create thin-client applications 1

Chapter 17 - Deploying Java Applications on the Web6 Using HTML to Create an Input Form  Action attribute of the tag specified the Uniform Resource Locater (URL) of the file on the web server  HTTP (Hypertext Transfer Protocol) specifies transfer mechanisms  8080 specifies the communications port  Client and server listen for request on this port 1

Chapter 17 - Deploying Java Applications on the Web7 Java Servlets  Server-side applets  Java programs residing on a web server that can be run by a web server, like Apache Tomcat  Why Servlets?  Persistent maintain services for multiple clients  Fast Loaded only once  Platform-independent in Java  Extensible EJBs  Secure run through a web server  Methods: doPost() and doGet() 1

Chapter 17 - Deploying Java Applications on the Web8

9 Using JavaScript to Validate Input  JavaScript is used to validate form data on the client  Uses the tags  If an error occurs an alert message is displayed 1 17

Chapter 17 - Deploying Java Applications on the Web10 Java Server Pages  Java Server Pages (JSP) is an HTML file embedded with Java code  JSPs can do anything a servlet can do  All JSP files have a.jsp extension  JSP tags are enclosed in  Used to enclose executable Java statements 1

Chapter 17 - Deploying Java Applications on the Web11 Exploring Other Technologies  Active Server Pages (ASP)  PHP  Dynamic HTML (DHTML)  Extensible Markup Language (XML)  XHTML (Extensible HTML)  Flash  Perl and CGI 1

Chapter 17 - Deploying Java Applications on the Web12 Demo