Results 1 to 2 of 2
Thread: question on j2ee design pattern
- 01-04-2009, 01:23 PM #1Member
- Join Date
- Jan 2009
- Rep Power
question on j2ee design pattern
which one of the two is a characteristic of the Transfer Object design pattern?
a. It increases the complexity of the design due to remote synchronization and version control issues.
b. It increases network performance introducing multiple fine-grained remote requests which return very small amounts of data.
The correct answer is (a) but i think it should be (b).
Could somebody figure out which one is correct?
- 01-06-2009, 08:50 PM #2
But the idea of sending many many fine grained requests, each with very small amounts of data as "better" or "increase performance" is wrong from the start.
Networks are slow. You want to minimize the number of requests, and get as much information as you can in each request.