Mehmet Nuri Tike
1250810
  CENG546 HW#4

Zip file contents:
- CalenderServer.jar: jar file containing the .class files to run the server program.

- CalenderClient.jar: jar file containing the .class files to run the client program.

- README.txt: this file
- src/ : the directory that contains the source code files.


How to compile: 
Compile all the files under the src directory.
run: "rmic CalenderImpl" to produce skeleton and stub files.
The necessary class files to run the server and client programs can be seen by looking at the contents of the CalenderServer.jar and CalenderClient.jar files.


How to run (tested on Windows):
(when writing file locations "/" or "\" may be used depending on the operating system.)

1- run rmiregistry
2- run server program:
 "java -jar -Djava.rmi.server.codebase=file:/<serverJarLocation>\CalenderServer.jar CalenderServer.jar [<registryserverhostname>]"

 where:
 <serverJarLocation>: the path where this jar file (CalenderServer.jar) is located.
 <registryserverhostname> the name of the host machine where rmiregistry runs. If this parameter is not supplied, localhost is assumed as the host of rmiregistry. This option works relying on that firewall,etc. do not block the connection.

 Example: java -jar -Djava.rmi.server.codebase=file:/c:\hw4\CalenderServer.jar CalenderServer.jar

3- run the client program:
 "java -jar CalenderClient.jar [<registryserverhostname>]"

  where:
  <registryserverhostname> the name of the host machine where rmiregistry runs. If this parameter is not supplied, localhost is assumed as the host of rmiregistry.

 Once there is a rmiregistry and server program running, you can start many client programs.

