This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi, can i use a dtoAssembler to return all values from one table in my database as a 'big dto', or return the values of a find-method. Which means wrap multiple rows as one object. Or is an assembler only used to get data from 2,3,... different tables of a database which is related to eachother and combine it as composite DTO. Or in other words, combine one row of each database to one big object. Or doesn't it matter?
hi, what's the difference of a dto assembler and a value list handler? They both produce a composite DTO, but a value list handler executes the query on a database, by using a DAO. BTW, is a Fast lane reader the same as a value list handler? Thanks, Roul
I think if you want all the data in a table you would return a collection of DTO. DTO is an encapsulation of the state of an object. It's meant to avoid the performance hit of getting state in a distributed application.