• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implicit Requirements?

 
Michael Zöller
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Roel De Nijs
Sheriff
Posts: 9098
75
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Michael Zöller
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic