Skip to content

The goal of this mini project is to master the RMI technology and develop an application for it. distributed client/server for bank account management with the use of an data.

Notifications You must be signed in to change notification settings

gadnyz/Java-RMI-client-server-with-Netbeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-RMI-client-server-with-Netbeans

The goal of this mini project is to master the RMI technology and develop distributed application client/server for bank account management.

Project Name	:	<< CUSTUMER-SERVER APPLICATION FOR MANAGING BANK ACCOUNTS >>

Author		:	Gadnyz

Date		:	June 26, 2020

T H E -- G O A L


The goal of this mini project is to master the RMI technology and develop an application for it. distributed client/server for bank account management.

The application is subdivided into two parts, the client part and the server one


D E V S -- T O O L S


* IDE : Netbeans 8.2

* java version "1.8.0_91"

* Database : Postegres 12

I N S T A L L -- T O O L S


  1. Download POSTEGRES: https://www.postgresql.org/download/

  2. Launch pgAdmin4.exe

  3. Import the banque.sql in pgAdmin4 > Create first a the database with the name banque. after copy the sql script in banque.sql run it in pgadmin4

  4. Download of Java DataBase Connectivity (JDBC) postegres : https://jdbc.postgresql.org/download.html

    The JDBC must match with the version of your installed Java

    • For >= JAVA 8 download PostgreSQL JDBC 4.2 Driver, 42.2.14

    • For JAVA 7 download PostgreSQL JDBC 4.1 Driver, 42.2.14.jre7

    • For JAVA 6 download PostgreSQL JDBC 4.0 Driver, 42.2.14.jre6


L A U N C H -- T H E -- A P P L I C A T I O N


* In case of using on two PC 		> 	You must connect the both hosts on the same access point (you can use Smartphone to create the access point)

* Run the server 			>	Put the server IP in the Network, the Database access (login , password and  server port) Default port is 5432
	
	- cmd > cd ..\Serveur\src\rmi
	- cmd > ..\Serveur\src\rmi>javac *.java
	- cmd > ..\Serveur\src\rmi> cd ..
	- cmd > ..\Serveur\src> start rmiregistry -J-Djava.security.policy=fichier.policy
	- cmd > ..\Serveur\src>java rmi.RMIServeur
	
	[replace `..` by the server project absolute path]

	Now the server start

* Run the client			>	Give server IP, rmi access port and the current account numRef 

	- cmd > cd ..\client\src\rmi
	- cmd > ..\client\src\rmi>javac *.java
	- cmd > ..\client\src\rmi> cd ..
	- cmd > ..\client\src> java rmi.Client 
	
	[replace `..` by the client project absolute path]

	Now the client start

About

The goal of this mini project is to master the RMI technology and develop an application for it. distributed client/server for bank account management with the use of an data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages