RE: Any interest in a DTO class?

2008-08-11 Thread Jerome Louvel
D] Envoye : jeudi 7 aout 2008 17:24 A : discuss@restlet.tigris.org Objet : Any interest in a DTO class? I wanted a simple way to get the values of request parameters into an Object. I've implemented a DTO (Data Transfer Object) class that can be used for this. Suppose you want to implem

Any interest in a DTO class?

2008-08-07 Thread Paul J. Lucas
I wanted a simple way to get the values of request parameters into an Object. I've implemented a DTO (Data Transfer Object) class that can be used for this. Suppose you want to implement a query request. You could do something like: public class QueryDTO extends DTO {