The case I use DTO is when I have wizards that involves many entities or/and some data that will become an entity but it is not the entity itself. Besides, some types that I cannot use in wicket, or maybe yes, like JodaTime DateTime.
On Fri, Aug 21, 2009 at 5:42 AM, Mathias Nilsson < [email protected]> wrote: > > I don't know about the good design but why should you make a detached copy > of > an perfectly good entity? It's just more work. > > However, if you need to use dto for webservices or there are some cases > when > you need to get fields from different entities then maybe you should > consider dto. > -- > View this message in context: > http://www.nabble.com/using-hibernate-pojo-as-model-instead-of-dto-tp25071549p25079082.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Fernando Wermus. www.linkedin.com/in/fernandowermus
