Meaningless Drivel is fun!
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes DBRecordUtilities class 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 "DBRecordUtilities class" Watch "DBRecordUtilities class" New topic

DBRecordUtilities class

Anton Golovin
Ranch Hand

Joined: Jul 02, 2004
Posts: 476
I am thinking of putting all record-conversion code into one class: suncertify.db.util.DBRecordUtilities, which would use only static methods to provide the functionality. I was wondering if anyone thought it was a good idea. The thought I had was also to put in there methods to insure correct format of record fields (such as date) and to make this class usable in the client portion of the program as well (I will be using InputVerifiers for the record fields, to create a record.) Design-wise, do you think it could work; and perhaps, you could give me a pointer on how to best make it work?

Thanks in advance for your time!

Anton Golovin ( SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
I agree. Here's the link:
subject: DBRecordUtilities class
It's not a secret anymore!