Distributed Transaction on CORBA Presented by Leung Kin Wai, Andrew Student No.: 97080330 Supervisor: Professor Michael R. Lyu.

Slides:



Advertisements
Similar presentations
Vrije Universiteit amsterdamPostacademische Cursus Informatie Technologie Web Applications – The Object Web combining servers and client-applications multiple.
Advertisements

Virtual Ticketing Agents using Web Services and J2EE Advisor: Dr. Chung-E-Wang Date: 05/06/03 Naveen Repala.
Online Educational Game of Snakes and Ladders -Shalini Pradhan -Manali Joshi -Uttara Paingankar -Seema Joshi.
Common Object Request Broker Architecture (CORBA) By: Sunil Gopinath David Watkins.
Seminarium on Component-based Software Engineering Jan Willem Klinkenberg CORBA.
Distributed Systems Architectures
A brief look at CORBA. What is CORBA Common Object Request Broker Architecture developed by OMG Combine benefits of OO and distributed computing Distributed.
CORBA Case Study By Jeffrey Oliver March March 17, 2003CORBA Case Study by J. T. Oliver2 History The CORBA (Common Object Request Broker Architecture)
IP Address Management and Request Service Kim Huynh CS491B.
1. Introducing Java Computing  What is Java Computing?  Why Java Computing?  Enterprise Java Computing  Java and Internet Web Server.
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.
LYU9901-Travel Net LYU9901-Travel Net Supervisor: Prof. Michael R. Lyu Students: Ho Chi Ho Malcolm Lau Chi Ho Arthur (Presentation on )
Multiple Tiers in Action
Project Title: Cobra Implementation on Association Service.
LYU9901 TravelNet Final Presentation Supervisor: Prof. Michael R. Lyu Members: Ho Chi Ho Malcolm Lau Chi Ho Arthur On
A Computer Aided Despatch System on CORBA/Java Platform Chau Chi Wing.
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
Common Object Request Broker Architecture (CORBA) CS-328.
Copyright © 2003 ProsoftTraining. All rights reserved. Distributed Object Computing Using Java and CORBA.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
Quality Assurance for Component- Based Software Development Cai Xia (Mphil Term1) Supervisor: Prof. Michael R. Lyu 5 May, 2000.
Understanding the CORBA Model. What is CORBA?  The Common Object Request Broker Architecture (CORBA) allows distributed applications to interoperate.
Location Based Information Service using CORBA CS597 Direct Reading Madhu Narayanan & Rahul Vaghela Advisor: Dr. Yugi Lee.
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Cli/Serv.: rmiCORBA/131 Client/Server Distributed Systems v Objectives –introduce rmi and CORBA , Semester 1, RMI and CORBA.
1 Distributed Systems Distributed Objects & Remote Invocation II (CORBA VS DCOM) Dr. Sunny Jeong. With Thanks to.
An application architecture specifies the technologies to be used to implement one or more (and possibly all) information systems in terms of DATA, PROCESS,
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
CEN Advanced Software Engineering
CORBA IS 8030 – Integrated Computing Environments Dr. Hoganson CORBA Common Object Request Broker Architecture Published by Object Management Group (OMG)
Integrating Digital Libraries by CORBA, XML and Servlet Integrating Digital Libraries by CORBA, XML and Servlet Wing Hang Cheung, Michael R. Lyu and Kam.
Distributed Objects and Middleware. Sockets and Ports Source: G. Coulouris et al., Distributed Systems: Concepts and Design.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
CSC 480 Software Engineering Lecture 18 Nov 6, 2002.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 43 Remote Method Invocation.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
Presented By:- Sudipta Dhara Roll Table of Content Table of Content 1.Introduction 2.How it evolved 3.Need of Middleware 4.Middleware Basic 5.Categories.
Common Object Request Broker Architecture (CORBA) The Common Object Request Broker Architecture (CORBA) is a specification of a standard architecture for.
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
An Introduction to Web Services Web Services using Java / Session 1 / 2 of 21 Objectives Discuss distributed computing Explain web services and their.
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
Web Services Using Visual.NET By Kevin Tse. Agenda What are Web Services and Why are they Useful ? SOAP vs CORBA Goals of the Web Service Project Proposed.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
The Pasta Flingers Group 3. CORBA Object Management Group – OMG Object Management Group – OMG Common Object Request Broker Architecture Common Object.
(C) 2003 University of ManchesterCS31010 Lecture 14: CORBA.
Distributed Computing in Life Science Research -Presenter: Yijian Yang
Distributed Data Servers and Web Interface in the Climate Data Portal Willa H. Zhu Joint Institute for the Study of Ocean and Atmosphere University of.
CEN6502, Spring Understanding the ORB: Client Side Structure of ORB (fig 4.1) Client requests may be passed to ORB via either SII or DII SII decide.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
2 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Architecture.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Middleware Department of Computer Science Southern Illinois University Edwardsville Spring, 2016 Dr. Hiroshi Fujinoki Middleware/001.
Distributed Computing
Sarang Nazari California State University, Los Angeles
PHP / MySQL Introduction
Component-Based Software Engineering: Technologies, Development Frameworks, and Quality Assurance Schemes X. Cai, M. R. Lyu, K.F. Wong, R. Ko.
Introduction to Servlets
LYU9901 TravelNet Final Presentation Supervisor: Prof. Michael R. Lyu
Presented by Kam Shu Kai, Andy Student No.:
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
One EPIC Place Website Scheduler
Quality Assurance for Component-Based Software Development
Middleware and ORB CS 314 Operating Systems
OBJECT STORAGE AND INTEROPERABILITY
Middleware and ORB CS 314 Operating Systems
Copyright 1999 B.Ramamurthy
Presentation transcript:

Distributed Transaction on CORBA Presented by Leung Kin Wai, Andrew Student No.: Supervisor: Professor Michael R. Lyu

Content Introduction System Overview Client Overview Server Overview Discussion Conclusion Q & A

Introduction World Wide Web Components are autonomous Object ‑ oriented component model CORBA (Common Object Request Broker Architecture) IDL, the OMG Interface Definition Language

Introduction (2) Language bindings Object request broker

System Overview Cinema tickets booking system Cinema management side Customers side System Functions of cinema managers: –Register a new film –View films’ information –Create schedule for booking

System Overview (2) System Functions of customers: –Online user registration –View films’ information –Add comments and grade to film –View the comments and grade –Buy tickets –Check booking information

System Requirement Support multiple cinemas Support multiple films Support multiple arenas of a cinema Support multiple customers booking films Support customers booking multiple films Support a person to login as a customer or cinema manager

System Requirement (2) Support a person to register as a new customer Support cinema managers to add films to the system Support cinema managers to create schedule for booking Support to view films’ information in the system

System Requirement (3) Support customers to acquire seats’ status in the arenas of cinemas Support customers to check their bookings Support customers to add comments and grade to films Support customers to retrieve comments and grade of films

Components of system Database server - store persistent data Object server - provides services Web server - download web page and applets IIOP proxy - allows applets to communicate with different hosts Client applet - front end to users

Client & Server Interactions

Client & Server Interactions (2) 1. Web browser downloads HTTP page 2. Web browser retrieves Java applet and ORB classes from HTTP server 3. Web browser loads and starts applet 4. Applet invokes CORBA server objects 5. CORBA server return result values

User Interfaces (1)

User Interfaces (2)

User Interfaces (3)

User Interfaces (4)

Methods of Server Object (1) authenticateBooker - check Users’ ID createFilm - create a film allFilmName - retrieve all films’ name createCustomer - register a customer createSche - create a schedule for booking getCineName - get a cinema’s name getArenaName - get an arena’s name

Methods of Server Object (2) getDates - get dates for booking getTimes - get times for booking makeBooking - make booking getSeatStatus - get seats’ status getFilmPrice - get price of a film getBooking - get booking information getMaxBookRef - get max. booking ref.

Methods of Server Object (3) getFilmInfo - get films’ information createComment - create a comment getMaxCommentRef - get max. comment ref. getComment - get comments getAvgGrade - get average grade of a film authenticateCinema - check managers’ ID

Methods of Server Object (4) logout - for customers to logout logoutMan - for managers to logout

Database Design Table: Film –A record in this table stores the information of a film. Table: Customer –A record in this table stores the information of a customer.

Database Design (2) Table: Schedule –A record in this table stores the information of a showing schedule. Table: Booking –A record in this table stores the information of a booking.

Database Design (3) Table: Comment –A record in this table stores the information of a comment. Table: Cinema –A record in this table stores the information of a cinema.

Implementation of Server BookingCenterMain –initializes the ORB –obtains a reference to the BOA –invokes obj_is_ready, register the BookingCenterImpl –invokes impl_is_ready

Implementation of Server (2) BookingCenterImpl –implements the IDL-defined interface –creates a new BookDb object –connects to it –BookDb –pre-connected to the database –handles all the interactions with JDBC

Discussion Excellent CORBA/Java Integration A modern 3-tier client/server foundation CORBA works just fine from within applets You can create multi-panel applets using AWT Callbacks

Conclusion Study CORBA –powerful for distributed system construction Developed a cinema tickets reservation 3- tier system for demonstration

Area of Improvement Server can use the callback facility to periodically update the seats' status to the clients. This can improve the accuracy and efficiency of tickets selling Server can be started on demand. With this improvement the server need not to be running all the time to wait for the request of clients.

End of Presentation Thank you for your coming. Q & A