Hi,
so in the server your webservice or service method needs to convert the 
entity object (which represents the database schema) into a DAO object 
which represents the JSON data returned. This DAO object needs to have a 
structure similar to the one you expect on the client side.

On the server you have a login method. This method should perform that 
conversion and the DAO should include either the fields or referenced DAO 
objects (not entity objects!).

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/039687c8-5536-43dd-9b3b-0bbc3fa451dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to