April 20023CSG1DE2 1 Electronic Commerce Design (2) John Wordsworth Department of Computer Science The University of Reading Room.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Apache Struts Technology
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
DT228/3 Web Development WWW and Client server model.
April 20023CSG11 Electronic Commerce Java (1) John Wordsworth Department of Computer Science The University of Reading Room 129,
Program Flow Charting How to tackle the beginning stage a program design.
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.
Layers & Tiers Umair Javed Lec - 41.
Program Flow Charting How to tackle the beginning stage a program design.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
Course Map The Java Programming Language Basics Object-Oriented Programming Exception Handling Graphical User Interfaces and Applets Multithreading Communications.
CS 432 Object-Oriented Analysis and Design
13-1 Chapter 13 - Objectives Define an information system’s architecture in terms of the KNOWLEDGE, PROCESSES, and COMMUNICATION building blocks. Differentiate.
Web application architecture
UNIT-V The MVC architecture and Struts Framework.
1 INTRO TO BUSINESS COMPONENTS FOR JAVA (BC4J) Matt Fierst Computer Resource Team OracleWorld Session
April 20023CSG11 Electronic Commerce Design (1) John Wordsworth Department of Computer Science The University of Reading Room.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Chapter 4: Core Web Technologies
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
Developing Web Services Oracle SOA Suite 11g (JDeveloper)
Jaeki Song ISQS6337 JAVA Lecture 16 Other Issues in Java.
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Introduction to J2EE Architecture Portions by Kunal Mehta.
第十四章 J2EE 入门 Introduction What is J2EE ?
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
CS4273: Distributed System Technologies and Programming Lecture 13: Review.
1 Another group of Patterns Architectural Patterns.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
13-1 Application Architecture Application architecture – a specification of the technologies to be used to implement information systems. The blueprint.
Implementation - Part 2 CPS 181s March 18, Pieces of the Site-building Puzzle Page 180, figure 4.1.
J2EE Overview Web Programming CSCI J2EE multi-tier architecture Servlet: Java class loaded into Web server JSP page: enhanced HTML page that is.
1 Welcome to CSC 301 Web Programming Charles Frank.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
April 20023CSG1HTF 1 Electronic Commerce HTML forms John Wordsworth Department of Computer Science The University of Reading
April 20023CSG11 Electronic Commerce HTML John Wordsworth Department of Computer Science The University of Reading Room 129, Ext.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
Enterprise Java Beans. Model 1 J2EE – Web View Model/View/Controller Model View Control Data base Web Server Model One Architecture HTTP Request HTTP.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
SEA Side – Extreme Programming 1 SEA Side Software Engineering Annotations Architectural Patterns Professor Sara Stoecklin Director of Software Engineering-
April 2002Information Systems Design John Ogden & John Wordsworth FOI: 1 Database Design File organisations and indexes John Wordsworth Department of Computer.
April 2002Information Systems Design John Ogden & John Wordsworth SQL2: 1 Database Design SQL (2) John Wordsworth Department of Computer Science The University.
April 20023CSG11 Electronic Commerce Encryption John Wordsworth Department of Computer Science The University of Reading Room.
April 20023CSG11 Electronic Commerce Java (2) John Wordsworth Department of Computer Science The University of Reading Room 129,
April 20022/CS/3XAPP 1 Database Design Anatomy of an application John Wordsworth Department of Computer Science The University of Reading
April 20023CSG11 Electronic Commerce Markup languages John Wordsworth Department of Computer Science The University of Reading
April 20023CSG11 Electronic Commerce Transaction processing John Wordsworth Department of Computer Science The University of Reading
April 20023CSG11 Electronic Commerce Introduction John Wordsworth Department of Computer Science The University of Reading Room.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
Navigation Framework using CF Architecture for a Client-Server Application using the open standards of the Web presented by Kedar Desai Differential Technologies,
Advanced Higher Computing Science The Project. Introduction Worth 60% of the total marks for the course Must include: An appropriate interface using input.
Cost9b 1 Living with Function Points Bernstein and Lubashevsky Text pp
April 20023CSG1XSL 1 Electronic Commerce XSL transformations John Wordsworth Department of Computer Science The University of Reading
Electronic Commerce Java (1)
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Handling Errors in Web Applications
System Design.
CSC 480 Software Engineering
Web-Services-based Systems Architecture, Design and Implementation
Distributed System Using Java 2 Enterprise Edition (J2EE)
Tiers vs. Layers.
Electronic Commerce HTML forms
Electronic Commerce Design (1)
Presentation transcript:

April 20023CSG1DE2 1 Electronic Commerce Design (2) John Wordsworth Department of Computer Science The University of Reading Room 137, Ext 6544

April 20023CSG1DE2 2 Lecture objectives Review design choices for tier 3 Review implications for tier 2 design Consider message structures for communication between the tiers

April 20023CSG1DE2 3 Design method Specify the external interface – interactions and expectations Data design – tier 3 Algorithm design – tier 2 Message design for the interface between tiers 2 and 3 Business logic design – tier 2 Message design for the interface between tiers 1 and 2 Presentation design – tier 1

April 20023CSG1DE2 4 Design of tier 3 Capture the data requirements Entity-relationship modelling Formal models (sets, relations) Capture the interaction (transaction) requirements Pseudocode, decision tables, state machines, flow charts Formal models (preconditions, postconditions) Validation of the design

April 20023CSG1DE2 5 Implementation of Tier 3 Database server Distributed, replicated Transaction processing monitor Files and databases Transaction processing programs Distributed Legacy systems Verification of the implementation

April 20023CSG1DE2 6 Message design (2-3) Analysis of required data flows: Input messages (operation, input values) Output messages (response code, data) Identify types of data Identify common structures Create an XML DTD

April 20023CSG1DE2 7 Design of tier 2 Business logic Transactional capabilities Caching of tier 3 data Propagation of errors from tier 3 Validation of the design

April 20023CSG1DE2 8 Implementation of tier 2 using EJBs Use servlets to process user requests Use objects to represent the data being handled: Request message -> HTTP request object EJB represents database row Object represents the database response Response object -> HTTP response object Verification of the implementation

April 20023CSG1DE2 9 Implementation of tier 2 using messages Use servlets to process user requests Use objects to represent the data being handled: Request message -> HTTP request object Request object -> message to tier 3 Response from tier 3 -> response object Response object -> response message to tier 1 Verification of the implementation

April 20023CSG1DE2 10 Design and implementation of tier 1 Use the storyboard to design the presentation layouts Consider the use of applets to manage the user interface Consider the use of HTML forms for the user interface Avoid presenting nonsense messages to the naïve user

April 20023CSG1DE2 11 Key points Important to consider how transactions will be managed in tier 3 Exploit reusability of objects (Java) in tier 2 Keep the user interface clean and clear