The short answer is LinkRest. It deals very well with large object graphs (pagination, filtering of relationships, etc.). It is also fully integrated with Cayenne, so you just take your existing DataMap and start writing the endpoints.
Some links: LinkRest Site: http://nhl.github.io/link-rest/ A WOWODC talk: https://www.youtube.com/watch?v=Zwf9Xy90-8s A sample app: https://github.com/andrus/link-rest-cms-demo Andrus > On Sep 16, 2015, at 4:53 PM, Michael Gentry <mgen...@masslight.net> wrote: > > Branching off from "Syncing peers in single thread", where Andrus said: > > "I like using REST and keeping state on the client (e.g. the browser) :) > But Tapestry 5.x is actually has very decent page state management > facilities." > > We are looking to become more RESTful in some of our Tapestry 5 > applications and I'm wondering if anyone has any good suggestions for how > to marry REST + Cayenne together, especially when you are dealing with > large object graphs? > > Thanks, > > mrg > > PS. Large object graphs = potentially 100s to 1000s of objects in, > potentially, more than 100 tables/entities.