首先,应用程序更难调试,因为附加的绑定层使追踪控件与域对象之间的数据流变得更难。
At first, applications are more difficult to debug because the extra binding layer makes it harder to trace the flow of data between controls and domain objects.
另一种限制源自于这样一个事实:域对象可以通过由实体管理器所管理的域对象所在的层访问,也可以通过分离它的所有其他层访问。
Another restriction arises from the fact that the domain objects can be accessed both in the tier where they are managed by the entity manager and in all the other tiers where they are detached.
数据以域对象或值对象的形式提供给表示层。
Data is provided to the presentation layer in the form of domain objects or value objects.
应用推荐