No additional DTO classes are created in this article.
本文没有创建额外的dto类。
You only have to develop one DTO and retrieval method per entity.
这样您只得为每个实体开发一个DTO和一个检索方法。
The following configuration in dwr.xml shows how to configure a DTO
下面dwr.xml的配置信息展示了如何配置一个DTO
The names in the associative array must match with the properties in the DTO.
关联数组中的名称必须与DTO中的属性名字匹配。
More seriously, the name you choose for a DTO should clearly indicate what data it is returning.
认真一点讲,您为DTO选择的名称应该清楚地指示它所返回的数据。
Writing the domain object to DTO mapping code is tedious.
域对象写入DTO映射代码是非常枯燥。
When you implement a new class of use case, you have to create a new DTO and go tweak the EJB to retrieve it.
当实现用例的新类时,必须创建一个新的DTO,并调整EJB以对其进行检索。
Part two is about the researches of the analytic potential function and molecular reaction dynamic processes of DTO.
第二部分研究了基态DTO 分子的分析势能函数与分子反应动力学过程。
The objects that DAOs operate on are usually called value objects, although the term data transfer objects (DTO) is more meaningful.
DAO所操作的对象通常称为值对象,尽管术语数据传送对象(data transfer object,DTO)的意思更为贴切。
The middle-ground (the EJB Advocate is reminded of Goldilocks and the Three Bears) is to tailor the DTO structure to return exactly what you need.
中立方法(EJB倡导者想起了《金发姑娘与三只熊》的故事)就是对 DTO结构进行定制,使其准确返回您所需要的数据。
We'll use it as a DTO here, but it should be evident that it doesn't matter where it came from - it's acceptable to work in terms of your domain, if you want.
我们在这里把它作为DTO来用,但很显然,它来自哪里并不重要——如果你愿意,根据你的领域去处理它也可以。
Of course, the tradeoff is that DTO almost always contains more data than you need for a given unit of work, especially in real world entities that tend to have lots of attributes.
当然,折衷方案是DTO中包含的数据几乎始终多于给定工作单元所需的数据,在通常具有很多属性的实际实体中更是如此。
Of course, the tradeoff is that DTO almost always contains more data than you need for a given unit of work, especially in real world entities that tend to have lots of attributes.
当然,折衷方案是DTO中包含的数据几乎始终多于给定工作单元所需的数据,在通常具有很多属性的实际实体中更是如此。
应用推荐