aspose file tools*
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
Author

Implicit Requirements?

Michael Zöller
Greenhorn

Joined: Nov 24, 2009
Posts: 16
Hello,

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?

Bye,
Michael


SCJP 6.0, SCJD, SCWCD, OCPJBCD, OCMJEA
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5273
    
  13

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,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

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
Greenhorn

Joined: Nov 24, 2009
Posts: 16
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: http://aspose.com/file-tools
 
subject: Implicit Requirements?