Hi,
Welcome to JavaRanch and this forum.
Although you have only been given one assignment, it might help for you to think of it as three separate assignments: the database, the server, and the GUI. Then approach each one separately, as though the others didn't exist.
So when you write the database connectivity, you are going to be implementing methods that provide the greatest functionality and flexibility. So you will probably end up providing functions that might not be used by
your GUI (e.g. the create() method), and you will probably provide flexibility that is not required by
your GUI (e.g. the search method provides "begins with" searching, whereas your GUI only requires a perfect match).
Then when you get to the GUI section you forget all about what the database is
capable of and just concentrate on what you are
required to develop as far as the GUI is concerned.
Originally posted by s yucel:
In non networked mode, shall I suppose that only one client is accessing the db?
Do you have the following statement in your instructions?
From the instructions:
You may assume that at any moment, at most one program is accessing the database file
(Search for the
word "assume" - this sentence contains the first instance of that word)
Regards, Andrew