This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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
jQuery in Action, 3rd edition