SCJP2
"I'm not back." - Bill Harding, Twister
For my assignment I defined a MetaData class for the info from the class header, and clients call a getMetaData() method on the server to retrieve this info
SCJP2
"I'm not back." - Bill Harding, Twister
You could create a new interface which extends DBMain and adds getMetaData(). That's what I did anyway.
public interface ExtendedDBAccess extends DBAccess {...}
public class Data implements ExtendedDBAccess {...}
SCJP2
Hi Jim,
Thank you very much. That's like a beautiful
SCJP2
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Can U imagine clients that call the fields the same the are called in Oracle database?!
Do I need to take that statement in consideration ? Well, it's in the specs (I consider that the whole "instructions.html" content are the specs), so I must do. As an application developer, I asked myself :They take bookings only within 48 hours of the start of room occupancy.
."stupid developer"
Vlad: Andrew, have U implemented this logic (with 48h) also?
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Just in the business tier, to be able to access the column values array by column name. Working with constants works fine ... till the data format changes. So putting column indexes in variables seems better to me. Data knows its meta-data information. Why not simply publish it ? And what about fields lengths ? Constants too ?1) If we just forget about indexed search, where would you use the names of DB Columns : on the client, Data, or its extention and how? Can you give me a sample?
2) Do U beleive the indexed search is needed when the whole database is cashed?
3) What do you think specification means by saying we have to flexible search mechanism?
Working with constants works fine ... till the data format changes.
Consider Paul's rocket mass heater. |