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 Advanced Search - Implementation Qurstion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Advanced Search - Implementation Qurstion" Watch "Advanced Search - Implementation Qurstion" New topic

Advanced Search - Implementation Qurstion

Arun G Rao

Joined: Dec 24, 2005
Posts: 14
This is in reference to URLy Bird search by hotel name and location. I started with the editable combo box which had a list from the DB. When my wife saw the design, she suggested that the location drop down should dynamically repsond to the value selected in the name combo box.

E.g -
Case 1) If Hotel name is ANY, then build the list of all locations (ANY will also be an option)

Case 1) If Hotel name is HILTON, then build the list of all locations that this hotel is present (ANY will also be an option).

This will avoid any confusion what so ever after the results are shown (if there are none) and will also apply defensive design. I really liked the idea. The question is, will this be an overkill for the exam.

Thanks in advance.

Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11778

Hi Arun,

I really like that as well, and I don't think it should add much complexity to your project, so it should be fine to add it.

Regards, Andrew

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I agree. Here's the link:
subject: Advanced Search - Implementation Qurstion
It's not a secret anymore!