New data types
loom-appengine includes a set Converters for Key, GeoPt, Link, Cursor and Text. To use, just add the Converter to your Spring or Guice context.
Key conversion
When using key conversion out-of-the-box, Loom will use the default String serialization that comes with AppEngine. This is a useful error-proof implementation, but consumes more bandwidth than required. If your application includes root Key classes you can optimize by adding RootKeyConverterFactory to your context and annotating any root key:
This will use the Base58 hash of the key id, resulting in much shorter URLs. Similar behavior can be obtained using JpaKeyConverterFactory.
Labels:
None