Tik-76.021 Ohjelmoinnin peruskurssi L2

Exercise 4

RMI

Use your solution of exercise 3 for creating an application that reads the date/value data using RMI instead of using JDBC. The resulting client application should look like this (reference application included in the "Exc4Ref" directory):

Notice! The program in the image is written using the "Swing" user interface classes. Since the Swing exercise that was planned has been left out, you do not have to use Swing classes in this exercise!

The date/value data to use is in the file "Exc4DateValues.txt", which is read by the server application. Then the client connects to the server, asks for the DateValueVector and displays the graph obtained.

Hints:

Remark: The reference solution was originally written for an exercise number 7 (not 4 like here), so if you have any difficulties in running the reference solution, then rename everything to Exc7Ref instead.

To be returned: