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 DBRecordUtilities class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "DBRecordUtilities class" Watch "DBRecordUtilities class" New topic
Author

DBRecordUtilities class

Anton Golovin
Ranch Hand

Joined: Jul 02, 2004
Posts: 473
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<br /><i>anton.golovin@gmail.com</i><br />SCJP, SCJD, SCBCD, SCWCD
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: DBRecordUtilities class
 
Similar Threads
NX: File Consistency
NX:How to avoid hard coding?
B&S 2.3.2 - Data class as a singleton
Looking for some nice advice
updating a primary key field