Firstly, compile the SSD8-exam3.idl with idlj. The command should be like ※idlj 每fall SSD8-exam3.idl§ Then compile all the java files with javac. Then start the orbd at the default port. The command is ※start orbd§.
Then run the Server.
After that you can run the Client.
In the command if you didn't give any parameters. Then it will print a help.
The command format is like this:
※java MyClient register aaa aaa§
※java MyClient leavemessage aaa aaa bbb§//the content of the message will be input from the key board later
※java MyClient checkmessages aaa aaa§
※java MyClient showusers aaa aaa§
You can see the test result in TESTRESULT.txt.