Hi All,
First of all an Into: Since I am using RMI I have no control over the threads. I have determined that my data class is
thread safe(No midification of the class variables inside the methods) and client identification not a problem because of use of cookies. So I am using only a single data class.
But inside the data class I am confused whether to use a single RandomAcces file or one instance of it per method. When I look into RA class, there are only two class variables.
private FileDescriptor fd;
private FileChannel channel = null;
But this will go an for ever as I have to determine if FileDescriptor is thread safe...
Is this too much for the assignment. Can I just put an end to this and create RA instances for each method?.
Thanks for your time.