Hello,
What's the best data structure to store and retrieve data in the form of record, to and from disk, respectively? This should also let one search the record based on criteria from a record field. I was thinking of RandomAccessFile but just wondering if there are newer alternatives. In term of performance, does it matter if I try something like retrieving the record in saved File object , then put the fields into an array, then use Arrays to binarySearch? Also, how is this compared to Linklist or Tree? Is it true that if one has
jdbc connection, this can easily be done in the backend? Thank you.