Kauri Documentation
 PreviousHomeNext 
9.3 JPA database resourcesBook Index9.3.3 Limitations

9.3.2 JPA database resource interface specifics

The JpaRestlet provides the JPA database resources. It implements the common database resource interface.

All resources have three representations:

Content negotiation (the HTTP Accept header) can be used to indicate your preferred representation.

In case you can't set the Accept header, you can work around this by specifying it in the URI, for example ?media=json

Entities that are serializable, can also be retrieved as serialized Java objects.

For POST/PUT operations, the payload can be JSON, XML or serialized Java objects.

 PreviousHomeNext 
9.3 JPA database resources9.3.3 Limitations