Each table in the database schema is encapsulated as an entity bean:
Entity Bean |
Database Table |
Account |
ACCOUNT table |
AccountType |
ACCOUNT_TYPE table |
Branch |
BRANCH table |
Customer |
CUSTOMER table |
Transaction |
TRANSACTION_HISTORY table |
TransactionType |
TRANSACTION_TYPE table |
All entity beans use container-managed persistence (CMP), except Customer, which uses bean-managed persistence (BMP).
Currently, the application only makes use of the Account, AccountType, Branch, and Customer beans.