The J2EETM Tutorial
Home
TOC
Index
PREV TOP NEXT Search
Feedback

The Duke's Bank Application

Stephanie Bodoff, Dale Green, Eric Jendrock, and Monica Pawlan

This chapter describes the Duke's Bank application, an online banking application. Duke's Bank has two clients: a J2EE application client used by administrators to manage customers and accounts, and a Web client used by customers to access account histories and perform transactions. The clients access the customer, account, and transaction information maintained in a database through enterprise beans. The Duke's Bank application demonstrates how all the component technologies--enterprise beans, J2EE application clients, and Web components--presented in this tutorial are put together to provide a simple but functional application.

Figure 18-1 gives a high-level view of how the components interact. This chapter looks at each of the component types in detail and concludes with a discussion of how to build, deploy, and run the application.

Figure 18-1 Duke's Bank Application

In This Chapter

Enterprise Beans
Session Beans
CustomerControllerEJB
TxControllerEJB
Entity Beans
Helper Classes
Database Tables
Protecting the Enterprise Beans
Application Client
The Classes and Their Relationships
BankAdmin Class
EventHandle Class
DataModel Class
Web Client
Design Strategies
Web Client Life Cycle
Protecting the Web Resources
Internationalization
Building, Packaging, Deploying, and Running the Application
Adding Groups and Users to the Realm
Starting the J2EE Server, deploytool, and Database
Compiling the Enterprise Beans
Packaging the Enterprise Beans
Compiling the Web Client
Packaging the Web Client
Compiling the J2EE Application Client
Packaging the J2EE Application Client
Packaging the Enterprise Archive File
Opening the Enterprise Archive File
Reviewing JNDI Names
Mapping the Security Roles to Groups
Deploying the Duke's Bank Application
Creating the Bank Database
Running the J2EE Application Client
Running the Web Client
Home
TOC
Index
PREV TOP NEXT Search
Feedback