-
Open the terminal on project folder
-
Compile the idl file using the idlj command as below:
idlj -fall Addition.idl
-
After, tun the following command to compile java files:
javac *.java
-
Run this command:
start orbd -ORBInitialPort 1050
-
Than, run this command to star server:
java StartServer -ORBInitialPort 1050 -ORBInitialHost localhost&
-
And now, this command to star client:
java StartClient -ORBInitialPort 1050 -ORBInitialHost localhost
Code | Message |
---|---|
0 | Success |
1 | File already exist |
2 | File not founded |
3 | Error on writer |
4 | ERROR |
5 | Copy File already exist |
6 | Error reading file |