I am currently working on my
scjd (Bodgitt & Scarper) and was curious if anyone had any insight as to how far
you should go with the method implementations in the Data class. Sun says you must implement DBMain (the provided interface) which includes create, delete, update, etc. But do you even have to implement any code for these actual functions if the user won't be using them via the gui anyway? I know that we are supposed to make our app extensible so things can be added in the future, but why should we have to actually implement delete and create if we arent even giving the user the abililty to create and update records?? And if you do actually write code to create and delete how does the examiner
test this, since they can't test it via the gui?? Does anyone know if they actually write test cases for themselves to test? Or do they just look at your code and then make sure the gui works with it?? If anyone has any ideas that would be great, Thanks in advance!
Dave
SCJP 1.4, SCJD 1.4, SCWCD 1.3, SCBCD 1.3, IBM Certified Solution Developer -WebSphere Studio V5.0