Development of a Web Based B&B Reservation System Elizabeth Gates 22July04.

Slides:



Advertisements
Similar presentations
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Advertisements

3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Apache Struts Technology
Online Educational Game of Snakes and Ladders -Shalini Pradhan -Manali Joshi -Uttara Paingankar -Seema Joshi.
DT211/3 Internet Application Development JSP: Processing User input.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
TRAVEL RESERVATION SYSTEM USING WEB SERVICES COMPOSITION LANGUAGE
CS 290C: Formal Models for Web Software Lecture 1: Introduction Instructor: Tevfik Bultan.
Copyright © 2002 Pearson Education, Inc.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Evaluating Architectures Quality control: rarely fun, but always necessary
High Level: Generic Test Process (from chapter 6 of your text and earlier lesson) Test Planning & Preparation Test Execution Goals met? Analysis & Follow-up.
Matthew J Mattia CSC  Cumbersome Code  Consistent/Predictable design (GUEPs #5, CD’s #10)  Display “proper” amount of information  Including.
Conceptual Design of an E- commerce System Min Ding Smeal College of Business Administration Pennsylvania State University.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Struts 2.0 an Overview ( )
UNIT-V The MVC architecture and Struts Framework.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Classroom User Training June 29, 2005 Presented by:
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
Design for Senior Project December 05, 2007 Raytheon_Design_Review.ppt 1 of 19 Raytheon – Google Earth Roy Daniels, Marc Maciel, Rifina Pierre Department.
LBTO IssueTrak User’s Manual Norm Cushing version 1.3 August 8th, 2007.
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
AQS Web Quick Reference Guide Changing Raw Data Values Using Maintenance 1. From Main Menu, click Maintenance, Sample Values, Raw Data 2. Enter monitor.
1 Copyright © 2004, Oracle. All rights reserved. Introduction to Oracle Forms Developer and Oracle Forms Services.
Chemical Toxicity and Safety Information System Shuanghui Luo Ying Li Jin Xu.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Design Patterns Phil Smith 28 th November Design Patterns There are many ways to produce content via Servlets and JSPs Understanding the good, the.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
COMP 321 Week 7. Overview HTML and HTTP Basics Dynamic Web Content ServletsMVC Tomcat in Eclipse Demonstration Lab 7-1 Introduction.
Standalone Java Application vs. Java Web Application
Online Translation Service Capstone Design Eunyoung Ku Jason Roberts Jennifer Pitts Gregory Woodburn Kim Tran.
Project Overview Graduate Selection Process Project Goal Automate the Selection Process.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
12 Developing a Web Site Section 12.1 Discuss the functions of a Web site Compare and contrast style sheets Apply cascading style sheets (CSS) to a Web.
Project Overview Graduate Selection Process Project Goal Automate the Selection Process.
Ashley Montebello – CprE Katie Githens – SE Wayne Rowcliffe – SE Advisor/Client: Akhilesh Tyagi.
Courselist Project Automated Graduate Student Information System Final project for CS 3354.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
Ibm.com /redbooks © Copyright IBM Corp All rights reserved. WP07 ITSO iSeries Technical Forum WebSphere Portal Express– Installation, Configuration.
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
Evaluating Architectures. Quality Control Rarely fun, but always necessary 1.
Access control 2/18/2009. TOMCAT Security Model Declarative Security:  the expression of application security external to the application, and it allows.
Using MS Excel to validate & load your data into Oracle EBS.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
Implementation of SCENS Yan Zhao. Current Status Current implementation is web-based –
15 Copyright © 2004, Oracle. All rights reserved. Adding JAAS Security to the Client.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Architecture Overview Server Database (can be on the server or separate ) Client1 Client2 Client3 HTTP  View ppt notes pages for discussion!
Securing Web Applications Lesson 4B / Slide 1 of 34 J2EE Web Components Pre-assessment Questions 1. Identify the correct return type returned by the doStartTag()
Java Web Development with NetBeans IDE -- Kai Qian Chapter 9 Case Study.
Potential NEALP candidates Where is the data input site?
Introduction to Oracle Forms Developer and Oracle Forms Services
Working in the Forms Developer Environment
Introduction to Oracle Forms Developer and Oracle Forms Services
Software Testing.
Software testing
Chapter 8 Building the Transaction Database
Introduction to Oracle Forms Developer and Oracle Forms Services
Haritha Dasari Josue Balandrano Coronel -
Introduction to Software Testing
Online Translation Service Capstone Design
Automated test.
Automated test.
Presentation transcript:

Development of a Web Based B&B Reservation System Elizabeth Gates 22July04

Introduction Customer information Reservations Small B&B business

Goals Maintain customer information and reservations for parent’s B&B Learn database and web application programming Research web testing

Project Description Web pages Web application

Web Pages For potential B&B customers Available to the public Describes the B&B, owners, immediate area, provides directions, and reservation information Has a victorian look and feel

Web Application For the B&B owner only Must login Help page and Quick reference guide Add\Modify\Delete\View customer information Add\Modify\Delete\View reservation information

Target Customer Small business owner Well educated, intelligent but not necessarily strong computer skills Wants a tool to make running the B&B easier

User Interface Consistent and simple Return button to Welcome Page in same place on each page Logout only from Welcome Page Online help only on Welcome Page but on separate page

User Interface (cont’d) All valid choices appear on a menu User given flexibility when entering field information

Database Originally MS-Access because it was readily available Changed to MySQL because more documentation available The purchased version of MySQL offers more security for servers

Security Form-based authentication Login uses j_security_check, j_username, j_password

Web Application Demonstration Questions?

Design Approach Servlet-Centric Model View Controller (MVC) Architecture Database Manager Tomcat Servlet Container

Servlet-Centric User servlets to handle information flow Presentation Layer = JSPs Business Logic = Servlets Data Access = Database

MVC View Layer = JSPs Control Layer = Servlets Model Layer = Database

MVC (cont’d) Not the simplest but not the most complicated approach Allows handling of session management, data flow and database access more efficiently Separation of tasks for large project

Database Manager Single access point (singleton class) Error Checking Ties tables together

Database Manager (cont’d) Beans Class for each database table DatabaseMgr class

Testing Approach Black Box Testing Automated Test Suite Free

Web Test Research Web Site Management Tools Load & Performance Test Tools Link Checking Tools Web Security Tools Language Specific Web Test Tools

Web Test Research (cont’d) WebWalker JUnit HttpUnit ServletUnit TestCollector

JUnit & HttpUnit Unit tests for Java for white box testing HttpUnit extends JUnit to create automated test suites for web applications

HttpUnit (cont’d) Class to replace the browser Verify links Verify forms (number, action, fields) Verify buttons

Test Issues Testers must have knowledge of code Tests break because of change to submit buttons Tests break because of web page sequence changes

Test Issue Solutions Black box testing tradeoffs Unique ID created for each form The “Return to Welcome Page” button form has same ID for each page DB test suite

Lessons Learned DB testing not very effective during development Didn’t understand servlets and JSPs Couldn’t get vertical slice to verify design early

Lessons Learned JSPs and Servlets complicated Takes a lot of code and communication between servlets and JSPs to get a small application to run Went back to clean up code after better understanding

Lessons Learned DB Manager Class works well only for small-medium sized project Becomes too large Need a different design for large project Used to maintain a single point of access and handle DB error checking

Lessons Learned Credit Card Security Important for B&B owner to keep CC information Form-based authorization can specify SSL for file access Encryption of data in DB May cost money Requires B&B owner’s input

Web Test Suite Demonstration Questions?