I have decided on an Adapter
pattern for my RMI to clients for reasons discussed elsewhere.
Now I wonder, what shall I offer in my client interface...
method needed in thin client offered in DBAccess
CreateRecord not needed y
DeleteRecord not needed y
UpdateRecord -> BookRecord y
ReadRecord needed y
SearchRecord needed y
CountRecord needed n
CountRecord is a method for retrieving the size of my AbstractDataModel.
Of course, I can let my client retrieve all the records once, and then record their count, but this is very awkward.
So, then this remains, what to offer in the interface ???