Este contenido no está disponible en el idioma seleccionado.
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:
AuthenticatorActionprovides the login authentication logic.BookingListActionretrieves existing bookings for the currently logged in user.ChangePasswordActionupdates the password of the currently logged in user.HotelBookingActionimplements booking and confirmation functionality. This is implemented as a conversation, so this is one of the more important classes in the application.HotelSearchingActionimplements the hotel search functionality.RegisterActionregisters a new system user.
Three entity beans implement the application's persistent domain model:
Hotelis an entity bean that represents a hotelBookingis an entity bean that represents an existing bookingUseris an entity bean representing a user who can make hotel bookings