The BankApplication is a Java-based application that simulates basic banking operations such as account creation, deposits, withdrawals, check balance, and transfers. It is designed using Java networking and supports multiple clients connecting to a central server.
- ๐ฆ User account creation
- ๐ฐ Deposit and withdrawal transactions
- ๐ Multi-client support using sockets
- ๐ Fund transfers between accounts
- ๐ Secure communication between clients and the server
- โ Java (JDK 17 or higher recommended)
- ๐ Java Sockets for client-server communication
- ๐ฅ Eclipse IDE (recommended for development)
- ๐ฆ Maven (optional, for dependency management)
Ensure you have the following installed:
- โ Java Development Kit (JDK 17 or later)
- ๐ฅ Eclipse IDE (or any Java-supported IDE)
- ๐ Git (optional, for cloning the repository)
-
Clone the Repository (if applicable):
git clone https://github.com/janithmalinda/BankApplication.git cd BankApplication
-
Open the Project in Eclipse
- Open Eclipse.
- Go to
File
โOpen Projects from File System...
โ Select the project folder. - Click
Finish
.
-
Ensure the Correct JDK is Configured
- Go to
Window
โPreferences
โJava
โInstalled JREs
. - Make sure a JDK is selected, not just a JRE.
- Go to
-
Run the Server
- Locate
Server.java
. - Right-click and select Run As โ Java Application.
- Locate
-
Run the Client
- Locate
Client.java
. - Right-click and select Run As โ Java Application.
- Repeat for multiple clients.
- Locate
- ๐ฅ The server starts and listens for incoming client connections.
- ๐ค Clients can connect and perform banking operations.
- ๐ The server handles transactions and maintains account details.
- ๐ Clients can transfer funds between accounts.
- ๐ Implement a database for account storage (PostgreSQL recommended)
- ๐ Add authentication (username/password system)
- ๐จ Improve UI with a JavaFX or web-based front end
- ๐ Generate account statements for users