
Chapter 8. Building a case study application 233
For the RBLogin.java servlet, the main task description is as follows:
1. Retrieves request’s input parameters: user name, password, and nextPage.
2. Create a new RBSessionBean instance object.
3. Verify if the model bean RBICMDocRouteModel is created and is set as a
session attribute. If not, create the bean and set the connection parameters.
4. Connect to the Content Manager server.
5. If no exception is thrown, fulfill the session data bean and place it as a
session attribute.
6. Dispatch the request to the display JSP defined by the parameter
nextPage.
Now, the model and controller layers are co ...