20-751 ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS eCommerce Technology 20-751 Lecture 4: Web Architecture.

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

Netscape Application Server Application Server for Business-Critical Applications Presented By : Khalid Ahmed DS Fall 98.
Objectives In this session, you will learn to:
Approaches to EJB Replication. Overview J2EE architecture –EJB, components, services Replication –Clustering, container, application Conclusions –Advantages.
Technical Architectures
1 Pertemuan 13 Servers for E-Business Matakuliah: M0284/Teknologi & Infrastruktur E-Business Tahun: 2005 Versi: >
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
1. Introducing Java Computing  What is Java Computing?  Why Java Computing?  Enterprise Java Computing  Java and Internet Web Server.
Chapter 13 Physical Architecture Layer Design
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Copyright W. Howden1 Lecture 19: Intro to O/O Components.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
Layers & Tiers Umair Javed Lec - 41.
The Architecture of Transaction Processing Systems
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
Enterprise Programming By J Pearce. Enterprise Software Sales HR Inventory Customer Support Shipping.
Nikolaos Korfiatis The Java 2 Enterprise Edition Platform Dept. of Management & Technology-Athens University of Economics and Business Java 2 Platform.
J2EE Kenneth M. Anderson CSCI Web Technologies October 3, 2001.
ECOMMERCE TECHNOLOGY FALL 2003 COPYRIGHT © 2003 MICHAEL I. SHAMOS eCommerce Technology Lecture 4: Web Architecture.
CS 483 Enterprise and Web Application Programming
12-1 © Prentice Hall, 2004 Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Client/Server Architecture
Understanding and Managing WebSphere V5
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Web-based Software Development - An introduction.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
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.
Chapter 4: Core Web Technologies
Enterprise Java Beans CS-422. Application Servers In the late 1980s and though the mid 1990s a number of corporations (Broadvision, Netscape…) marketed.
HTTP client wide area network (Internet) HTTP proxy HTTP server HTTP gateway firewall HTTP tunnel Copyright Springer Verlag Berlin Heidelberg 2004.
PowerTier EJB in High-Performance Applications John Killoran European Technical Services Manager Persistence Software.
Introduction to distributed systems Dr. S. Indran 23 January 2004.
Client presentation layer resource management layer application logic layer information system Copyright Springer Verlag Berlin Heidelberg 2004.
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Enterprise Java Beans Part I Kyungmin Cho 2001/04/10.
Enterprise JavaBeans. What is EJB? l An EJB is a specialized, non-visual JavaBean that runs on a server. l EJB technology supports application development.
Introduction to J2EE Architecture Portions by Kunal Mehta.
第十四章 J2EE 入门 Introduction What is J2EE ?
Chapter 1 Lecture 2 By :Jigar M Pandya WCMP 1. Architecture of Mobile Computing The three tier architecture contains the user interface or the presentation.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Slide 1 Physical Architecture Layer Design Chapter 13.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
1 Welcome to CSC 301 Web Programming Charles Frank.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
1 Java EE Programming Enterprise JavaBeans. 2 Topics J2EE Overview Enterprise JavaBeans Overview Enterprise Entity Beans Case Study How to build them.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
Enterprise Java Beans. Model 1 J2EE – Web View Model/View/Controller Model View Control Data base Web Server Model One Architecture HTTP Request HTTP.
Introduction to Enterprise JavaBeans Topics In Systems Architecture Barry Herbold
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
WEB SERVER SOFTWARE FEATURE SETS
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
Java Beans THETOPPERSWAY.COM. Contents What is a Java Bean? Advantages Properties Bean Developers Kit (BDK) What makes Bean possible? Support for Java.
©NIIT Introducing Enterprise JavaBeans (EJB) Lesson 1A / Slide 1 of 43J2EE Server Components Objectives In this lesson, you will learn about: The features.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
J2EE Platform Overview (Application Architecture)
Web-based Software Development - An introduction
Netscape Application Server
MVC and other n-tier Architectures
Introduction to J2EE Architecture
Distributed System Using Java 2 Enterprise Edition (J2EE)
Web Application Server 2001/3/27 Kang, Seungwoo. Web Application Server A class of middleware Speeding application development Strategic platform for.
Presentation transcript:

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS eCommerce Technology Lecture 4: Web Architecture

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Two-Tier Architecture SOURCE: FOURNIER TIER 1: CLIENT TIER 2: SERVER Server performs all processing Web Server Application Server Database Server This architecture is deprecated. Server does too much work.

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Three-Tier Architecture TIER 1: CLIENT TIER 2: SERVER TIER 3: BACKEND Application server offloads processing to tier 3 SOURCE: FOURNIER Web Server + Application Server Note: Using 2 computers instead of 1 can result in a huge increase in simultaneous clients. Depends on % of CPU time spent on database access.

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS N-Tier Architecture SOURCE: FOURNIER Achieves full separation of function and administration Huge number of simultaneous clients Managed and tuned by DBA Optimized for web page delivery Coded for specific application

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS InterShop Architecture SOURCE: INTERSHOP

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Connecting to Legacy Systems by “Wrapping” Web App Web Server Legacy App MAINFRAME “WRAPPER” Wrapper Middleware

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Connecting to Legacy Systems The “screen scraper” Client Web server Legacy database Terminal screen data Screen scraper Existing application HTML data Legacy system (mainframe) SOURCE: WIM GEVERS

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Screen Scraping Some systems produce as their only output commands to 80 x 24 display terminals Sequences of characters telling the terminal to move its cursor and display data, e.g. ^M0238Jan. ^M024416, ^M displays “Jan. 16, 2000” in row 2, starting at col. 38 Screen scraping involves virtual simulation of the display terminal to retrieve the data Vendors –Intelligent EnvironmentsIntelligent Environments

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Web Broker Architecture SOURCE: INTERWORLD FEATURES More distributed than InterShop Broker acts as distribution agent TIER 1 TIER 2 TIER 3 TIER 4

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Server Accelerators (Surrogates) Origin Server Client A Server Accelerator (surrogate) all content requests for the origin server requests to origin server Client B maintains cache of frequently accessed web pages SOURCE: G. TOMLINSONG. TOMLINSON

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Server Clusters (Farms) REPLICATED CONTENT EACH REQUEST SENT TO A FREE SERVER

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Server Clusters (Farms) Origin Server A Client Surrogate Client’s content request. Origin Server B Origin Server C Origin Server n Surrogate Request- Router Surrogate Response indicates best surrogate. Client connects to best Surrogate for content SOURCE: G. TOMLINSONG. TOMLINSON

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Server Clusters (using DNS) SOURCE: NOVELLNOVELL MULTIPLE SURROGATES Surrogate

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Today’s Storage Architecture LAN Channels Servers Storage Clients BACKUP SOURCE: UNISYS

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Storage-Area Network (SAN) Solution LAN SAN Servers Storage Clients BACKUP OR REPLICATION SOURCE: UNISYS

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS SAN Definition Multiple paths to each resource Any-to-any connections Global Address view Open structure using industry standard protocol No node dependencies, (can function even if one or more nodes are inoperative) Optimized for large block transfers High bandwidth and high availability Scales up with no performance loss SOURCE: UNISYS

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Applets: Mobile Internet Code SOURCE: FOURNIER HTML: code=clock.class codebase=“

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS What Applets Can’t Do Reference specified area of memory Access local file system Execute other programs Load local libraries Create or manage threads in others Connect to other hosts except originator Open windows Applets identify themselves through code signing (digital signature) SOURCE: POSTECH

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Java 2 Security Model SOURCE: SUN MICROSYSTEMS Applications are identified by digital signatures Range of security policies Domain = Set of classes given the same permissions Untrusted foreign applets run here Security manager controls access to system resources Trusted native applications run here Every application is subject to a security policy

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Java Beans Java Beans : reusable software components containing business logic for manipulation in a visual builder tool (e.g. Borland JBuilder, IBM Visual Age for Java) Write once, run anywhere (WORA) Properties of Beans: –Introspection: builder tool can analyze how a Bean works. getBeanInfo(BeanClass) –Customization: developer can use an app builder tool to customize the appearance and behavior of a Bean –Events: enables Beans to communicate and connect together –Properties: property editors to customize Beans –Persistence: developers can customize Beans, store and retrieve them, with customized features intact, for future use Can buy and sell Beans. Visit Sun.Sun

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Enterprise Java Beans (EJB) An interface specification for building scalable, distributed, component-based, multi-tier enterprise- wide applications Java Beans for server-side business applications Platform and vendor-neutral Java Beans extended with –transaction processing –state management –services not offered by the Java Virtual Machine Idea: incorporate data and business logic into objects in one place in the enterprise Employ reusable components

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Enterprise Java Beans SOURCE: SUN MICROSYSTEMS SERVER MANAGES EJB CONTAINERS CONTAINER HANDLES: TRANSACTION MGMT SECURITY CLIENT CONNECTIVITY LIFE CYCLE MGMT ENTERPRISE BEANS HANDLE BUSINESS LOGIC

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Enterprise Java Beans SOURCE: SUN MICROSYSTEMS SESSION BEAN PERFORMS TASK FOR 1 CLIENT IS NOT PERSISTENT ENTITY BEAN REPRESENTS BUSINESS ENTITY OBJECT SHARED BY MANY CLIENTS IS PERSISTENT SESSION BEAN CLIENT CUSTOMER ON WEB SERVLET RESPONDS TO CART APPLET DATABASE STORES ENTITY BEAN STATES

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Java Server Pages (JSP) Delivering customized content SOURCE: SUN

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS JSP Page Example <jsp:useBean id=“clock” class=“calendar.JspCalendar”/> Day of Month: is Year: is SOURCE: SUN Page invokes a Java bean from a servlet (Similar to an applet) Page invokes methods on the servlet to generate dynamic content Looks like an HTML page

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Major Ideas Three-tiered (n-tiered) architecture Web development tools Storage Area Networks Enterprise Java Beans

ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Q A &