This project is a simple bank management system implemented using Java's Remote Method Invocation (RMI) framework. It allows clients to perform operations such as creating an account, depositing money, withdrawing money, checking balance, and transferring funds between accounts through a graphical user interface (GUI).
The bank management system is divided into several modules:
Account: A class representing a bank account with basic attributes like account ID and balance, and methods to deposit and withdraw funds.BankManager: An RMI remote interface that defines the operations that can be performed on bank accounts.BankManagerImpl: An implementation of theBankManagerinterface, providing the logic for account operations.BankManagerGUI: AJFramebased GUI that interacts with theBankManagerto perform operations and display results to the user.Client: A client class that looks up the RMI registry for theBankManagerservice and initializes the GUI.Server: Sets up the RMI registry and binds theBankManagerImplobject to make it available to clients.
Before running this project, ensure you have Java Development Kit (JDK) installed on your system.
-
Clone the repository to your local machine:
git clone https://github.com/AmmariAbdelmounaim/RMI_Java_SwingApplication.git cd bank-management-rmi -
Compile the Java files:
javac *.java -
Start the RMI registry:
rmiregistry & -
Start the server:
java Server
To use the bank management system:
-
Start the server as mentioned in the installation steps.
-
Run the client to interact with the server through the GUI:
java Client
-
Use the graphical user interface to perform operations like creating an account, depositing and withdrawing money, transferring funds, and checking account balances.