1.6.2. Overview of the booking example
The project structure here is identical to that of the previous project. To install and deploy this application, refer to Section 1.1, “Using the Seam examples”. Once you have successfully started the application, you can access it by pointing your browser to
http://localhost:8080/seam-booking/
The application uses six session beans to implement the business logic for the following features:
AuthenticatorAction
provides the log in authentication logic.BookingListAction
retrieves existing bookings for the currently logged in user.ChangePasswordAction
updates the password of the currently logged in user.HotelBookingAction
implements booking and confirmation functionality. This is implemented as a conversation, so this is one of the more important classes in the application.HotelSearchingAction
implements the hotel search functionality.RegisterAction
registers a new system user.
Three entity beans implement the application's persistent domain model:
Hotel
is an entity bean that represents a hotelBooking
is an entity bean that represents an existing bookingUser
is an entity bean representing a user who can make hotel bookings