• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Thomas Taeger
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!