Hi (upcomming) Sun Certified Java Developers,
For greater performance, I was planning to cache the contents of the supplied database in memory. This is no issue for the database header information, but is for the records.
My DBAccess interface specifies that record numbers are of type long. The standard java collections classes use int for indices.
My questions are:
* The requirements do not specify a caching mechanism. To receive full credits, is a caching mechanism required?
* If a caching mechanism is required, which datastructure should I use (regarding long vs int). Should I write a structure myself?