GWT RPC: DTO vs. DAO?
问题 I've started learning GWT about a week ago and here's the question I can't answer for sure. Here's the server-side: // business object - has logic interface Article { String getTitle(); // lazy void setTitle(); String getText(); // lazy void setText(); Set<Comment> getComments(); // lazy } // also has logic interface Comment { ... } I need to somehow create a GWT widget to visualize Article . Passing Article won't work, since it's not serializable and moreover, it has some BL. So, there are 2