Results 1 to 2 of 2
  1. #1
    Minu is offline Member
    Join Date
    Jan 2009
    Posts
    3
    Rep Power
    0

    Default 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?

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    6

    Default

    Quote Originally Posted by Minu View Post
    b. It increases network performance introducing multiple fine-grained remote requests which return very small amounts of data.
    Disclaimer, I hate J2EE and know nothing about the Transfer Object design pattern.

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •