Migration Tutorial Overview

prevnext

Description of Example Application

 

The example application is a simple banking application built around an already existing example EJB, the container-managed AccountBean EJB. The application shows, incidentally to the purposes of this tutorial, how EJBs, Java Server Pages (JSPs), remote method invocation (RMI), and access control list (ACL) security work together.

The following process flow is a high-level view of how the application works:

1. A user who belongs to the ACL defined in the weblogic.properties file for the application can log in to the application interface, login.html, at the port on which WebLogic Server is listening (for example, http://localhost:7001/).
2. The user requests information for an account by entering the account number.
3. The BankAppServlet looks up the account and then passes the Account remote stub to AccountDetail.jsp.
4. AccountDetail.jsp displays the account data. The user can alter the account by depositing or withdrawing money.
5. Control is sent back to BankAppServlet, which handles the request by interacting with the EJB to record and validate the deposit or withdrawal.
6. RMI Logging logs the processing in BankAppServlet using RMI protocol. The EJB also logs the processing.
7. Exceptions are redirected to the error.jsp.

prevnext

 

Copyright © 2001 BEA Systems, Inc. All rights reserved.
Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.