How hamilton2959/real-application-java-banking-system works
This appears to be a JavaFX banking application for managing accounts, customers, loans, transactions, users, and reports. The likely user workflow starts in the desktop UI, passes through controllers and services to persistence, and displays results in views. The tree identifies those components, but the only source excerpt is the Java module descriptor; it does not show runtime wiring. Accordingly, inferred interactions are dashed and have no evidence path.
Main entry points: ValidationUtil.java Input validation · DatabaseConfig.java Database configuration · AccountController.java Account workflow · CustomerController.java Customer workflow
Components 33
Desktop UI
- Application startup
src/main/java/com/example/bankingapplication/HelloApplication.java - Main view
src/main/resources/com/example/bankingapplication/MainViews.fxml - Login view
src/main/resources/com/example/bankingapplication/Login.fxml - Registration view
src/main/resources/com/example/bankingapplication/Register.fxml - Account view
src/main/resources/com/example/bankingapplication/AccountView.fxml - Customer view
src/main/resources/com/example/bankingapplication/CustomerView.fxml - Loan view
src/main/resources/com/example/bankingapplication/LoanView.fxml - Transaction view
src/main/resources/com/example/bankingapplication/TransactionView.fxml - Report view
src/main/resources/com/example/bankingapplication/ReportView.fxml
Banking Workflows
- Login workflow
src/main/java/com/example/bankingapplication/controllers/LoginController.java - Registration workflow
src/main/java/com/example/bankingapplication/controllers/RegisterController.java - Account workflow
src/main/java/com/example/bankingapplication/controllers/AccountController.java - Customer workflow
src/main/java/com/example/bankingapplication/controllers/CustomerController.java - Loan workflow
src/main/java/com/example/bankingapplication/controllers/LoanConroller.java - Transaction workflow
src/main/java/com/example/bankingapplication/controllers/TransactionController.java - Report workflow
src/main/java/com/example/bankingapplication/controllers/ReportController.java - Input validation
src/main/java/com/example/bankingapplication/controllers/ValidationUtil.java - Account service
src/main/java/com/example/bankingapplication/service/AccountService.java - Customer service
src/main/java/com/example/bankingapplication/service/CustomerService.java - Loan service
src/main/java/com/example/bankingapplication/service/LoanService.java - Transaction service
src/main/java/com/example/bankingapplication/service/TransactionService.java
Domain Model
- Account model
src/main/java/com/example/bankingapplication/entity/Account.java - Customer model
src/main/java/com/example/bankingapplication/entity/Customer.java - Loan model
src/main/java/com/example/bankingapplication/entity/Loan.java - Transaction model
src/main/java/com/example/bankingapplication/entity/Transaction.java
Persistence
- Session management
src/main/java/com/example/bankingapplication/config/SessionManager.java - Database configuration
src/main/java/com/example/bankingapplication/config/DatabaseConfig.java - Account persistence
src/main/java/com/example/bankingapplication/repoImplementations/AccountRepositoryImpl.java - Customer persistence
src/main/java/com/example/bankingapplication/repoImplementations/CustomerRepositoryImpl.java - Loan persistence
src/main/java/com/example/bankingapplication/repoImplementations/LoanRepositoryImpl.java - Transaction persistence
src/main/java/com/example/bankingapplication/repoImplementations/TransactionRepositoryImpl.java
Other components
- Bank staff
- Database
Connections 40
- Bank staff → Application startup: opens
- Application startup → Main view: shows
- Bank staff → Login view: uses
- Bank staff → Registration view: uses
- Bank staff → Account view: uses
- Bank staff → Customer view: uses
- Bank staff → Loan view: uses
- Bank staff → Transaction view: uses
- Bank staff → Report view: uses
- Login view → Login workflow: dispatches
- Registration view → Registration workflow: dispatches
- Account view → Account workflow: dispatches
- Customer view → Customer workflow: dispatches
- Loan view → Loan workflow: dispatches
- Transaction view → Transaction workflow: dispatches
- Report view → Report workflow: dispatches
- Login workflow → Session management: uses
- Registration workflow → Customer service: uses
- Account workflow → Account service: uses
- Customer workflow → Customer service: uses
- Loan workflow → Loan service: uses
- Transaction workflow → Transaction service: uses
- Report workflow → Account service: uses
- Report workflow → Transaction service: uses
- Account workflow → Input validation: validates
- Customer workflow → Input validation: validates
- Loan workflow → Input validation: validates
- Transaction workflow → Input validation: validates
- Account service → Account persistence: uses
- Customer service → Customer persistence: uses
- Loan service → Loan persistence: uses
- Transaction service → Transaction persistence: uses
- Account persistence → Database configuration: configures access
- Customer persistence → Database configuration: configures access
- Loan persistence → Database configuration: configures access
- Transaction persistence → Database configuration: configures access
- Account persistence → Database: reads and writes
- Customer persistence → Database: reads and writes
- Loan persistence → Database: reads and writes
- Transaction persistence → Database: reads and writes