翻訳者レビュー ( 英語 → 日本語 )

評価: 52 / 0 Reviews / 2013/08/30 23:52:23

英語

updatable value objects lead to aliasing problems.
Early J2EE literature used the term value object to describe a different notion, what I call a Data Transfer Object. They have since changed their usage and use the term Transfer Object instead.

***
When you're working with a remote interface, such as Remote Facade, each call to it is expensive. As a result you need to reduce the number of calls, and that means that you need to transfer more data with each call. One way to do this is to use lots of parameters. However, this is often awkward to program - indeed, it's often impossible with languages such as Java that return only a single value.

日本語

更新可能 Value Object はエイリアスの問題につながる。
初期のJ2EEは、私が Data Transfer Object と呼ぶ他の概念を表現するために Value Object という用語を使用していた。彼らは以来、その使用法を変更し、代わりに Transfer Object という用語を使うようになった。

***
あなたが Remote Facade のようなリモートインタフェースを使用する際、それらの呼び出しは高コストである。結果として呼び出し回数を減らす必要があり、それは各呼び出しでより多くのデータを送信する必要があることを意味する。これを行う1つの方法は、多くのパラメータを使用することである。
しかし、これは多くの場合、プログラムするのが厄介になる - 確かに、それはしばしば、単一の値を返すJavaなどの言語では不可能である。

レビュー ( 0 )

翻訳者レビューはまだありません