• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion about requirement

 
Saheed Adepoju
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I went through my requirement and i found something funny i had earlier overlooked but i guess i had better ask and clarify. I have this:

Server
Required Interface
Your data access class must be called "Data.java", must be in a package called "suncertify.db", and must implement the following interface:

package suncertify.db;
public interface DB
{
// Reads a record from the file. Returns an array where each
// element is a record value.
public String[] read(int recNo) throws RecordNotFoundException;
// Modifies the fields of a record. The new value for field n
// appears in data[n]. Throws SecurityException
// if the record is locked with a cookie other than lockCookie.
.
.
.
.



My problem with it is the that it had SERVER as a heading! Does this mean this implementation is only for the server and no client implementation! Or the client can only have all this when connected, pls clarify my little confusion!
One more little thing, Mr Monkhouse if you are reading this, when will your book be published, i await it impatiently! Thanks as you all reply!
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saheed,
My problem with it is the that it had SERVER as a heading! Does this mean this implementation is only for the server and no client implementation! Or the client can only have all this when connected, pls clarify my little confusion!
I am not quite sure what you are asking here. Are you asking "Should lock methods be callable by the client"?
One more little thing, Mr Monkhouse if you are reading this, when will your book be published, i await it impatiently!
Nope, I am not reading this

According to the latest from my publisher, it should be published on 7th October. However according to Amazon, it will be available on 14th November.

Regards, Andrew
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic