Case Study: XYZ Airlines Online Reservation System

To streamline the discussion on Session Beans, let's work with a simple case study. We're building an online reservation system for XYZ Airlines. The functionality requires us to build a system using which a user can search for flights. Following that, the user reserves one or more seats on a flight that she chooses. We'll code an AirlineReservation Stateless Session Bean with two methods in it. To keep this case study simple, let's assume that reserving a seat on a flight translates to reducing the number of available seats in the flight by one.

The company wants to provide a shopping cart–type of interface to the user. The user should be able to buy tickets on as many flights as required and ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.