Java RMI simulation multiple server, SOEN 423, A1 Concordia university This simulation is A1 of SOEN 423
Email: soen.hardy@gmail.com
- Download and Extract the
.zip
folder - You need to indicate some absolute path in the file
StorageConfig.java
you need to replaceMAIN_TREE_FOLDER
,CENTRAL_REPO_CLIENT
andCENTRAL_REPO_LOCATION
by the location of thestorage folder
and theCENTRAL
folder.
- You need eclipse
- You need a copy of this repo.
- You need Java from Oracle Java 8 should be fine
- Compile the
.idl
interface with:idlj -fall yourname.idl
- Compile the
.java
files with:javac *.java yournameApp/*.java
- Start (might want to kill process before) ORB with:
orbd -ORBInitialPort 1050&
- You should start your server with:
java youServerName.java -ORBInitialPort 1050 &
- You could also use Eclipe and add as argument of the server
-ORBInitialPort 1050 &
- You should start the client with:
java youtClientName.java -ORBInitialPort 1050 &
- You could also use Eclipe and add as argument of the client
-ORBInitialPort 1050 &