File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S:Search requirements sanity check! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S:Search requirements sanity check!" Watch "B&S:Search requirements sanity check!" New topic

B&S:Search requirements sanity check!

Richard Levy

Joined: Jan 19, 2005
Posts: 22
Hi all,

Can someone just clarify my thinking on the GUI search requirements for B&S please.

In my instructions it says the following:

'It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.'

The 'name and/or location' is clear but does 'search the data for all records' simply mean 'display all records'.

Musab Al-Rawi
Ranch Hand

Joined: Aug 06, 2007
Posts: 231
Hi Richard,
Yes you need to display all record that match the criteria.

Martin Wells

Joined: Jun 06, 2006
Posts: 5
On the same line of enquiry I am not entirely sure how this should be interpreted.

It must and/or location fields exactly match values specified by the user.

I read this to mean search strings entered in the GUI must return ONLY THOSE RECORDS THAT EXACTLY MATCH, even though the database find operation matches strings that begin with the search criteria

It seems like a crazy requirement and would require the resultset of the find operation to be processed before being displayed in the GUI.

Is this how everyone else interpreted this, or am I being too cautious about the must word.?

SCJP, Working on SCJD
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Martin,

That's how interpreted it too: the interface is more flexible the the gui.

Martin Wells

Joined: Jun 06, 2006
Posts: 5
Thanks for the re-assurance.
I agree. Here's the link:
subject: B&S:Search requirements sanity check!
jQuery in Action, 3rd edition