• Post Reply Bookmark Topic Watch Topic
  • New Topic

DecisionTable: Cluster, Inter-EJB, Local, Intra-Tier/Team, RowSet, ValueObject, ...  RSS feed

Thomas Taeger
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!