First of all I need to say that I\'m not so experienced in Google App Engine.
I know that it is possible that we deploy RESTful Web-services (JERSEY) on GAE<
I started one year ago to develop an app with Jersey and Google App Engine. Great experience from my side, but I have never worked with Restlet ..
I try here to summarize the main difficulties I found in GAE integration:
web.xml fragment:
jersey
com.sun.jersey.spi.container.servlet.ServletContainer
com.sun.jersey.config.property.packages
***package-with-your-classes***;org.codehaus.jackson.jaxrs
1
Configurator:
@Provider
public class JAXBContextResolver implements ContextResolver {
private AnnoxAnnotationReader annotationReader;
private JAXBContext context;
private Class>[] classTypes = new Class[] { .. all your classes .. };
public JAXBContextResolver() {
annotationReader = new AnnoxAnnotationReader();
Map properties = new HashMap();
properties.put(JAXBRIContext.ANNOTATION_READER, annotationReader);
try {
this.context = JAXBContext.newInstance(classTypes, properties);
} catch (JAXBException e) {
..
}
public JAXBContext getContext(Class> objectType) {
return context;
}
.. as you can see I use Annox to avoid annotations inside my model classes!
Hope it helps! Michele Orsi