robertjchristian/service-seed — pull request #4 by izreal (2013-04-25 22:59:39+00:00)
Title: dynamic endpoint beginning

Look at com.liaison.helloworld.server.GenericResource

This is a partial implementation (lots TODO). It doesn't deploy to Tomcat correctly yet, but it demonstrates dynamic choice of JSON or XML based on the "Accept" header for the GET verb. It also partially demonstrates invoking a named javascript method with the POST verb. It also demonstrates the idea that there can be multiple endpoints that invoke the same hand-off to javascript.

Also included is an extended WadlGenerator class that would be used as a jump off point for making the runtime generated WADL based on service binding documents.