REST on GAE, which implementation to use? (RESTlet, jersey, other ....)

Does anyone have any experience using REST on GAE? Maybe you can advise some lightweight REST implementation for this. I found that RESTlet said they have an optimized GAE implementation. RESTlet-GAE Anyone try this?

+9
java rest google-app-engine
Jan 28 '10 at 20:52
source share
1 answer

I am currently using GAE plus Restlet 2.0M6 for the Goolge Apps domain domain business project and find it very useful. Integration with Google Accounts and Api data is easy for obvious reasons. However, I could not get the XStream library, which is bundled with Restlet to work correctly, so I use the most intuitive Simple infrastructure instead of serializing objects. Another disadvantage of Restlet is the lack of JSP integration, which is unsuccessful if you do not want to use heavier template approaches. So far I have used XSLTransformations to render the html views that are being viewed, but I'm not completely happy with it yet and have always looked for suggestions.

Update

Now I use Saxon to convert xml on the server. This is a good tutorial on how to use it with App Engine. This is in Jython, but not too hard to convert.

Update2

When the xslt approach is too heavy, I use a different approach with a helper package from the Lift framework to enable the rich xhtml templating / binding . However, this method is based on Scala.

+8
Jan 31 '10 at 11:30
source share



All Articles