aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes some general questions about assignment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "some general questions about assignment" Watch "some general questions about assignment" New topic
Author

some general questions about assignment

s yucel
Greenhorn

Joined: Dec 04, 2005
Posts: 11
Hi All,
I have just got my assignment, and I am a bit confused with some points:
My assignment is B&S.

1- The assigment has an interface to implement for data access. As far as I have understood, I need to provide two functionalities; Search and Book.
But in the interface, there are some methods to add a new record, to update and delete an existing record. Shall I implement these methods and put onto the GUI as well? And will there be unbook functionality?

2- In non networked mode, shall I suppose that only one client is accessing the db? In server mode, I need to implement all lcking mechanism as there are concurrent access. So I think I can use the same data access class for standalone mode as well?

any idea highly appreciated..
kind regards,
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11432
    
  85

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


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: some general questions about assignment