1 / 18

Online Airline Reservation System

Online Airline Reservation System. Pingping Ma Dec 7 th , 2006. Overview. Project overview Database design Program design Synchronization issues User experience Conclusion. Project Overview. A user may search for a flight between two locations on a specific date.

misae
Download Presentation

Online Airline Reservation System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Online Airline Reservation System Pingping Ma Dec 7th, 2006

  2. Overview • Project overview • Database design • Program design • Synchronization issues • User experience • Conclusion

  3. Project Overview • A user may search for a flight between two locations on a specific date. • A user may reserve available tickets. • A user may purchase previously reserved tickets by providing his/her credit card information. • A user may cancel previously reserved tickets.

  4. Project Overview • Three-tier architecture • IDE • Eclipse, Tomcat and Oracle • Programming languages • JSP, JavaScript, Servlet, and Javabeans

  5. Database Design

  6. Database design • CreditCard is a weak entity dependent upon Customer • Passenger is a weak entity to Purchase • Reservation • Originally one-way flight • Later add round trip flights • One reservation may involve two or more flights.

  7. MVC architecture • One of the most popular design patterns of web applications • Example: Struts • Separate UI from business logic • Three components • Model • View • Controller

  8. Program Design • In my program, • JSP pages act as View • Java Servlets act as Controller • Java beans act as Model • Separate entity beans from action beans • Entity beans: getter and setter methods • Action beans: data manipulation and calculation

  9. Program Design

  10. Synchronization • Database level • Oracle: implicit lock automatically • Application level • Synchronized keyword • Java’s synchronization model is based on the monitor mechanism. It is used to protect shared resources from simultaneous access and manipulation in a multi-threaded environment

  11. User Experience

  12. User Experience

  13. User Experience

  14. User Experience

  15. User Experience

  16. User Experience

  17. User Experience

  18. Conclusion • Learn a great deal of the J2EE application development • Realize the advantage of the MVC framework • Understand the function of the system fully • Later changes can be costly

More Related