There are three main tiers.

1) The client. (gwt/browser).
2) The frontend (your server code),
3) The backend (google's magic),


At the backend, the entity is serialized as whole, but between the frontend 
and backend, you can decide to request only a sub set of the enities 
properties.

-
The solution is store a map of properties as a single entity property, may 
sound a bit confusing, so an example:

HashMap<String, String> map = new HashMap<String, String>(4000);
for(4000) {
  ...
  map .put("id", "value");
  ...
}

entity.setUnindexedProperty("dto", map) ;
put();

In this case, 4000 items are stored in a single put.

The entity itself has only two 'columns''. The key and the serialized data 
field named "dto".

The next step is to write a wrapper class around the HashMap, and call it 
UserDTO, to transport this object to and from GWT.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/fFdcVB6I__4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to