GWT : Type of Container

Posted by moorsu on Stack Overflow See other posts from Stack Overflow or by moorsu
Published on 2010-06-12T18:02:37Z Indexed on 2010/06/12 18:12 UTC
Read the original article Hit count: 314

Filed under:
|

I see that there are two ways of transferring objects from server to client

  1. Use the same domain object (Contact.java) as used in the service layer. (I do not use hibernate)

  2. Use the HashMap to send the domain object field values in the form of Map with the help of BeanUtilsBean class. For multiple objects, use the List>. Similary, use the Map to submit form values from client to server

Is there any performance advantage for option 1 over 2?.

Is there a way to hide the classname/package name that is sent to the browser if we use option 1?.

thanks!.

© Stack Overflow or respective owner

Related posts about gwt

Related posts about gwt-rpc