Fortis Bank System

Overview

A full desktop banking application built in Java with a Swing GUI and an Oracle XE database. The system supports two roles — Manager and Customer — each with their own interface and permissions. Authentication uses password hashing with a first-login flow: the first time a user logs in, their numeric ID is accepted as a temporary password and immediately hashed. After 3 failed attempts the account locks in the database.

Architecture

The codebase is organized into 7 distinct structural layers:

+--------------------------------------------------------------------------+
|                 FORTIS BANK SYSTEM // 7-LAYER ARCHITECTURE               |
+--------------------------------------------------------------------------+
  [ 07. UI LAYER ]       LoginWindow, BankManager, BankCustomer (Swing/AWT)
         │
         ▼
  [ 06. SERVICE LAYER ]  LoginService, CustomerService, ManagerService
         │               (Enforces business logic, limits & account locking)
         ▼
  [ 05. BUSINESS CORE ]  Account (Checking, Savings, Credit, Currency)
         │               Customer, Transaction, Validator, ITransaction
         ▼
  [ 04. DTO LAYER ]      Plain Data Transfer Objects between tiers
         │
         ▼
  [ 03. DAO LAYER ]      AccountDAO, CustomerDAO, TransactionDAO
         │               (All SQL via PreparedStatements, autoCommit=false)
         ▼
  [ 02. UTILITY LAYER ]  BankLogger, CsvExporter, PdfExporter, PasswordUtil
         │
         ▼
  [ 01. DATABASE ]       Oracle XE 21c (schema: c##banksystem)
+--------------------------------------------------------------------------+
business/

Abstract Account class + 4 concrete types, Customer, Transaction, Validator, ITransaction interface

dao/

One DAO per entity. All queries go through a shared Oracle singleton connection (DBConnection)

dto/

Plain data transfer objects between layers

service/

LoginService, CustomerService, ManagerService; business rules live here, not in the UI

ui/

LoginWindow, BankManager (manager UI), BankCustomer (client UI)

util/

BankLogger (singleton), CsvExporter, PdfExporter, PasswordUtil, SessionManager

Account types
CheckingAccount

Standard chequing with daily withdrawal limit ($5,000)

SavingsAccount

Interest-bearing; restrictions on withdrawal frequency

CreditAccount

Credit line with configurable limit and interest rate

CurrencyAccount

Multi-currency; stores a base currency and conversion rate

Manager features
Create / edit / close customer profiles
Open accounts, adjust limits and interest rates
View all transactions across accounts
Export transaction history to CSV or PDF
Full audit log via BankLogger
Customer features
Deposit, withdraw, transfer between own accounts
View balance and transaction history
Daily withdrawal limit enforced at the service layer
First-login password setup
Database
EngineOracle XE — schema: c##banksystem
SchemaTables provisioned via sql/SETUP.sql
QueriesAll queries use PreparedStatements
CommitsExplicit (autoCommit = false)
Deliverables
src/ — Full Java source (business, dao, dto, service, ui, util, enums)
doc/ — Javadoc for all packages
sql/SETUP.sql — Full Oracle schema with seed data
DIAGRAMME_CLASSE_FORTIS_BANK.drawio — Class diagram
DIAGRAMME_DUTILISATION_FORTIS_BANK.drawio — Use-case diagram
FortisBankSystems_Presentation.pptx — Project presentation
Rapport_Projet_Final_FortisBankSystems.docx — Final report
Stack
LanguageJava 17
GUISwing (AWT EventQueue)
DatabaseOracle XE 21c — JDBC thin driver (ojdbc8)
BuildEclipse / IntelliJ IDEA (Maven layout)
Diagramsdraw.io
DocsJavadoc
[ TOPOLOGY: FORTIS_BANK_SYSTEM.JAVA ] [ ◄ RETURN TO PORTFOLIO ]