Hi, inspired by the recent post of Jacky Doner and others before, I now tried to collect the criteria "when to use what" and put it into the following two decision tables. The first decision table just decides - when we must use _Remote_ interfaces and - when we may use _Local_ interfaces instead:
The second decision table decides when to use - RowSet directly: please note that RowSet is not serializable by default, nor is ResultSet - CachedRowSet (serializable implementation of RowSet) - ValueObject The criterion "Must use Remote interface?" is anwered by the first decision table.
Please note that this second decision table is independent of criteria like - is for update or not - uses multiple tables of the database or not How do you think about those decisions? Thomas.