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 Implicit Requirements? 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 "Implicit Requirements?" Watch "Implicit Requirements?" New topic

Implicit Requirements?

Michael Zöller

Joined: Nov 24, 2009
Posts: 18

I currently develop my URLyBird Application. I got a question for those of you who already passed the exam.
I'm wondering what to do with the create/delete-functionality. The db-interface offers the create/delete methods, but there are no explicit requirements in the assignment text to implement this functionality in the application. So, I implemented the methods in my data class but I didn't offer the possibility to use the methods in the gui. What did you do?


Roel De Nijs

Joined: Jul 19, 2004
Posts: 8391

Hi Michael,

Welcome to the JavaRanch!

I implemented both create and delete-method and tested these methods with a JUnit test case. But these methods are not referenced in the scjd assignment.

Kind regards,

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
Roberto Perillo

Joined: Dec 28, 2007
Posts: 2271

Howdy, Michael. Welcome to JavaRanch!

I too did that. It is important to provide valid implementations for these methods, due to reusability matters. For instance, if another system expects the interface that was provided to you, then your implementation can be used. But they do not need to be offered in the UI, and don't need business methods as well.

Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Michael Zöller

Joined: Nov 24, 2009
Posts: 18
Thank you for your answers. So, my decision seems to be okay.
I further assume that I implement the "find"-Method as stated in the db-code (search all fields) but only offer the search for name and/or location in the gui and do not add an unbook-functionality for there are no requirements for that.
I agree. Here's the link:
subject: Implicit Requirements?
It's not a secret anymore!