data-transfer-objects
Java: Transferable Objects & Serialization
I need to serialize a Transferable object to I can send it over an object data stream but during runtime I get the error java.io.NotSerializableException & I have no idea whats wrong. How do I fix[详细]
2023-04-06 22:34 分类:问答Combining business object & data transfer object into one. Would it work?
I know data transfer objects are used for transferring data only and having lightweight objects over the wire.[详细]
2023-04-04 09:29 分类:问答Difference between Value Object pattern and Data Transfer pattern
In which scenario can I use those design patterns in n-tier archi开发者_JS百科tecture?DTO is the object that you can use at the boundaries of the system. When you have a SOAP web service for example a[详细]
2023-03-26 12:54 分类:问答Difference between Transfer objects and Domain objects
Could you please explain the difference between Transfer object开发者_运维知识库s and Domain objects in simple terms ? And if u could give a Java example, that would be great..[详细]
2023-03-21 05:07 分类:问答Should Transfer Object always reflect the entire DB row entry?
I\'ve got a question on the transfer object in DAO pattern. Let\'s say you have a USER table, and there are 20 fields in this table. 开发者_StackOverflow中文版In the business logic, I notice that I ma[详细]
2023-02-22 18:43 分类:问答Should the properties in Data Transfer Object expand the foreign keys or simply expose their primary keys
I have an EmployeeDTO that respresents an Employee record in the database.The Employee table has a relationship to a Department and a 1-to-many relationship to Permission.[详细]
2023-02-19 11:40 分类:问答Should DTOs in a composite DTO reference each other by primary key or by object reference?
There is a recommendation that transfer objects should not contain object references to other transfer objects. Instead, they should use the primary keys of the other transfer objects as foreign key f[详细]
2023-02-12 14:44 分类:问答Should a WCF service return an EntityObject or a POCO/DTO class?
I\'ve been looking at a lot of WCF examples using EntityFramework and most of them seem to return some kind of POCO or DTO class to the cl开发者_开发知识库ient.[详细]
2023-02-06 23:43 分类:问答What is a DTO and BO? What is the difference?
I know DTO is a data开发者_运维技巧 transfer object and a BO is a business object. But, what does it actually mean? When should I choose one over the other?[详细]
2023-02-03 10:25 分类:问答DTO pattern vs Memento pattern
What are the differences between DTO pattern(by Fowler) and Memento pattern(by GoF) in motivation and implementation aspect? Can it be the same classes? If yes, how can I name them (xxxDTO or xxxMemen[详细]
2023-01-22 20:10 分类:问答