Skip to content

JanithMalinda/BankApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BankApplication

๐Ÿš€ Overview

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.

โœจ Features

  • ๐Ÿฆ User account creation
  • ๐Ÿ’ฐ Deposit and withdrawal transactions
  • ๐Ÿ”„ Multi-client support using sockets
  • ๐Ÿ”„ Fund transfers between accounts
  • ๐Ÿ”’ Secure communication between clients and the server

๐Ÿ›  Technologies Used

  • โ˜• Java (JDK 17 or higher recommended)
  • ๐Ÿ”— Java Sockets for client-server communication
  • ๐Ÿ–ฅ Eclipse IDE (recommended for development)
  • ๐Ÿ“ฆ Maven (optional, for dependency management)

โš™๏ธ Installation

๐Ÿ“Œ Prerequisites

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)

๐Ÿ“ฅ Steps to Run the Application

  1. Clone the Repository (if applicable):

    git clone https://github.com/janithmalinda/BankApplication.git
    cd BankApplication
  2. Open the Project in Eclipse

    • Open Eclipse.
    • Go to File โ†’ Open Projects from File System... โ†’ Select the project folder.
    • Click Finish.
  3. Ensure the Correct JDK is Configured

    • Go to Window โ†’ Preferences โ†’ Java โ†’ Installed JREs.
    • Make sure a JDK is selected, not just a JRE.
  4. Run the Server

    • Locate Server.java.
    • Right-click and select Run As โ†’ Java Application.
  5. Run the Client

    • Locate Client.java.
    • Right-click and select Run As โ†’ Java Application.
    • Repeat for multiple clients.

๐Ÿ“Œ Usage

  1. ๐Ÿ–ฅ The server starts and listens for incoming client connections.
  2. ๐Ÿ‘ค Clients can connect and perform banking operations.
  3. ๐Ÿ”„ The server handles transactions and maintains account details.
  4. ๐Ÿ”„ Clients can transfer funds between accounts.

๐Ÿ”ฎ Future Enhancements

  • ๐Ÿ—„ 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages