permaculture playing cards*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "DBRecordUtilities class" Watch "DBRecordUtilities class" New topic
Author

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 (anton.golovin@gmail.com) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
 
 
subject: DBRecordUtilities class
 
Similar Threads
B&S 2.3.2 - Data class as a singleton
updating a primary key field
NX: File Consistency
Looking for some nice advice
NX:How to avoid hard coding?