File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX: Implementing the DBAccess interface and reuse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "NX: Implementing the DBAccess interface and reuse" Watch "NX: Implementing the DBAccess interface and reuse" New topic
Author

NX: Implementing the DBAccess interface and reuse

Richard Everhart
Ranch Hand

Joined: Nov 19, 2003
Posts: 54
Hi,

My assignment states:

Your data access class must be called "Data.java", must be in a package called "suncertify.db", and must implement the following interface...


That interface being DBAccess (also called DBMain in other assignments, I've noticed). What I'd like to do it create an abstract class that extends this interface and then have my Data class extend this abstract class. To me, this seems like it would make it easier when another type of DBAccess-based class needs to be created. However, the instructions don't say I can do this, but they don't say I cannot either.

So, I'm wondering if anyone has any thoughts on this and if others have done something similar for their assignment. Thanks.

Rich
[ May 17, 2004: Message edited by: Richard Everhart ]
 
I agree. Here's the link: jrebel
 
subject: NX: Implementing the DBAccess interface and reuse
 
Similar Threads
[B&S] lock/update/read method
NX: Some question about the assignment
Comments of the given interface
URLyBird 1.2.3
NX: Bodgitt and Scarper: may I modify the javadoc of the interface DB.java?