LYU9901-Travel Net - PowerPoint PPT Presentation

About This Presentation
Title:

LYU9901-Travel Net

Description:

Travel Shop. Selling of travel related accessories such as luggage, map, guide ... Travel Guides. Providing textual information on Cities covered by TravelNet ... – PowerPoint PPT presentation

Number of Views:25
Avg rating:3.0/5.0
Slides: 33
Provided by: Arth79
Category:
Tags: lyu9901 | net | travel

less

Transcript and Presenter's Notes

Title: LYU9901-Travel Net


1
LYU9901-Travel Net
  • Supervisor Prof. Michael R. Lyu
  • Students Ho Chi Ho Malcolm
  • Lau Chi Ho Arthur
  • (Presentation on 29-02-2000)

2
Outline
  • Progress on first term
  • Progress on second term
  • Current Progress
  • Future Plans

3
Work Done in 1st Term
  • Set up an online web application - TravelNet on a
    NT web server
  • Implement different functions of TravelNet using
    Java Servlet and HTML

4
Flight Search
  • Search Flights on preferences of users
  • Type of Search One-way
  • Principle Call Airline Manager of each airline
    to query and access its own database for
    information on flights

5
Travel Shop
  • Selling of travel related accessories such as
    luggage, map, guide book, etc
  • Principle A shop basket system which records
    items bought and initiates the payment system
    when checkout.

6
Travel Guides
  • Providing textual information on Cities covered
    by TravelNet
  • Principle pure HTML pages

7
Membership
  • Require users to register first before using our
    services for better management and promotion
  • Allow the change of personal information after
    login
  • Principle Maintain an user account database and
    login verification system

8
Security
  • Necessary for user login and payment
  • Consideration Convenience and compatibility in
    browser environment
  • Use of SSL between browser and web server

9
Work done in this term
  • Payment Gateway
  • Enhancement of Online shop
  • Enhancement of Flight Search

10
Payment Gateway for TravelNet
  • To be a more realistic system
  • Simulate payment in a secure way
  • In this part
  • Description of communication between merchant and
    Payment Gateway (PG)
  • Performance measure of a payment transaction

11
Communication method
  • Asymmetric key encryption on a TCP connection.
  • Receiver use its own private key to decrypt
    message.
  • Sender use receivers public key to encrypt
    message.
  • Keys with 512 bit-length
  • Hard to decrypt for hackers even with public key
  • Merchant fill in client object and issue a start
    operation

12
Performance Threaded Model
13
Performance Non-Threaded Model
14
Enhancement of Online Shop
  • Dynamic generation of shopping item pages
  • Allow easy maintenance

15
Enhancement of Flight Search
  • Implementation of Round-Trip Search
  • Display of search result
  • shown more complete information
  • sort result by time

16
Current Progress
  • Implementing Itinerary Management System
  • Investigating CORBA Integration
  • Investigating JSP

17
Itinerary Management
  • Maintain Users Flight Itinerary
  • Allow users to reserve flights eventually
  • Basic Functions
  • View items
  • Add items
  • Delete items
  • Reserve items to Airline

18
Itinerary Management(2)
  • Will be finished soon so as to finalize the
    system for CORBA integration

19
CORBA Integration
  • CORBA - general standard on developing
    distributed programs
  • Refer to CSC5110 for details!

20
CORBA Integration(2)
  • Why CORBA in TravelNet?
  • Existence of distributed component
  • e.g. Airlines Databases on Flights
  • Current Approach Airline Manager resides on
    TravelNet to be called, which lacks parallelism
    increase the load

21
CORBA Integration(3)
  • CORBA Approach Airline Manager resides on each
    airline server, to increase parallelism and
    decrease TravelNets server load
  • More benefits the use of Object Activation
    Daemon(OAD) for better resources allocation

22
CORBA Integration(4)
  • Challenge
  • the integration of CORBA is not simple
  • CORBA is commonly used in Applets and Application
    but not Servlet
  • Tools
  • Visibroker for Java

23
Introduction to JSP
  • Todays Web sites want to display dynamic content
    based on user and session.
  • Mixing the "static" content of HTML files with
    "directives" for accessing or generating dynamic
    content.
  • Java Server Pages provide server-side scripting
    support for generating web pages with combined
    static and dynamic content.

24
Displaying dynamic content
  • Common Gateway Interface (CGI)
  • Active Server Pages (ASP)
  • Java Servlets Java Server Page (JSP)

25
JSP features
  • Combines the worlds of HTML and Java Servlet
    programming
  • Similar to HTML pages with new tags to control
    the generation of dynamic content
  • Pre-compilation of JSP to Servlet which is
    responsible for generating dynamic pages
  • Reside in application server memory (pre-load OR
    1st access)

26
Why use JSP?
  • Platform independent
  • Fast Response
  • Reusability nature with Java classes or Java
    Beans

27
JSP Content
  • Standard HTML Tags for scripting in the Java
    language.
  • Tags like
  • ltjspuseBeangt Locates or instantiates a Beam
    with a specific name and scope
  • lt code fragment gt Contains a code fragment
    valid in page scripting language
  • lt expression gt return expression value to
    output stream (client browser).
  • JSP will finally be compiled to Servlets to
    access Beans

28
Compilation of JSP
  • .jsp file will be compiled to be a Servlet
  • Auto compile on
  • the first request of a .jsp file
  • the first request after changes on a .jsp file
  • No compilation is needed if there is no update
  • Generate output (HTML) by Servlet in memory
  • Can be pre-loaded

29
  • Request from browser to JSP of HTTP server
  • Servlet request the Bean
  • Bean request information from back-ends
  • JSP response requested information to browser

30
Simple Example
Request http//host/Time.jsp Output on Client
Browser ?
TIME JSP 183520
31
Future Plans
  • Finalize the existing system
  • Integration of CORBA
  • Enhancement to the system, e.g JSP
  • Other possible features depends on time

32
END
Write a Comment
User Comments (0)
About PowerShow.com