Re: Using a REST layer for UI and services

2010-10-20 Thread Tim Peierls
I went ahead and did this as I outlined (see quoted message below), for Freemarker and Jackson only, no Atom. there were several issues along the way. I had to replace the built-in ConverterHelpers that come with the Restlet extensions with my own subclasses of those ConverterHelpers. (The

Re: Using a REST layer for UI and services

2010-10-20 Thread Tal Liron
I'll only say that without caching somewhere along the line, making any kind of front-facing UIs with Restlet is going to be painful. When this comes (Restlet 2.1?), the proper Restlety route for this may suggest itself. fetchCalendar may cache, but does wrapIfHtml cache? Though, I do like

Re: Using a REST layer for UI and services

2010-10-14 Thread Tim Peierls
On Sat, Sep 11, 2010 at 11:47 AM, Jerome Louvel jerome.lou...@noelios.comwrote: Good news, is that we are planning to simplify this binding in version 2.1 but associating the template files with representation beans based on the bean qualified class name. The converter service would allow the

Re: Using a REST layer for UI and services

2010-09-14 Thread Tal Liron
Vincent, This is handled in Prudence using capturing: http://threecrickets.com/prudence/manual/routing/#toc-Subsubsection-93 Note that the capturing API, like all other Restlet sugar, is available in the tiny standalone Prudence jar. -Tal On Fri, Sep 10, 2010 at 7:54 AM, Vincent Nonnenmacher

Re: Using a REST layer for UI and services

2010-09-13 Thread Vincent Nonnenmacher
On 11/09/10 17:47, Jerome Louvel wrote: Hi all, Marc, Tal, would you mind updating the Powered by page in the community wiki so people can find out themselves about your projects based on Restlet? http://wiki.restlet.org/community/165-restlet.html Back to the original question, this is

Re: Using a REST layer for UI and services

2010-09-13 Thread Vincent Nonnenmacher
On 10/09/10 09:15, Marc Portier wrote: you might want to give http://kauriproject.org a try it has restlet and all its goodies underneath, but adds - a java and rest-service-wiring (based on spring and then some) - some templating, routing, and client-side ajax/js support (including a

RE: Using a REST layer for UI and services

2010-09-11 Thread Jerome Louvel
Hi all, Marc, Tal, would you mind updating the Powered by page in the community wiki so people can find out themselves about your projects based on Restlet? http://wiki.restlet.org/community/165-restlet.html Back to the original question, this is possible to use FreeMarker or Velocity

Re: Using a REST layer for UI and services

2010-09-10 Thread Marc Portier
you might want to give http://kauriproject.org a try it has restlet and all its goodies underneath, but adds - a java and rest-service-wiring (based on spring and then some) - some templating, routing, and client-side ajax/js support (including a form-model) that helps out in this webservice

Re: Using a REST layer for UI and services

2010-09-10 Thread Tal Liron
Kauri is impressive! Also check out Prudence. If all goes well, we will have a 1.0 release candidate this weekend. :) http://threecrickets.com/prudence/ On 09/10/2010 02:15 AM, Marc Portier wrote: you might want to give http://kauriproject.org a try it has restlet and all its goodies

Re: Using a REST layer for UI and services

2010-09-09 Thread Vincent Nonnenmacher
On 06/09/10 13:26, webp...@tigris.org wrote: Hi everyone, I have a web app who is divided into a web services and a ui front end. Actually the ui is made from servlets who call a business services layers and my web services use the same business layer. But I wonder if it is a way to write a

Re: Using a REST layer for UI and services

2010-09-09 Thread Vincent Nonnenmacher
On 06/09/10 13:26, webp...@tigris.org wrote: Hi everyone, I have a web app who is divided into a web services and a ui front end. Actually the ui is made from servlets who call a business services layers and my web services use the same business layer. But I wonder if it is a way to write a

Re: Using a REST layer for UI and services

2010-09-08 Thread Vincent Nonnenmacher
On 06/09/10 13:26, webp...@tigris.org wrote: Hi everyone, I have a web app who is divided into a web services and a ui front end. Actually the ui is made from servlets who call a business services layers and my web services use the same business layer. But I wonder if it is a way to write a

Using a REST layer for UI and services

2010-09-06 Thread webpost
Hi everyone, I have a web app who is divided into a web services and a ui front end. Actually the ui is made from servlets who call a business services layers and my web services use the same business layer. But I wonder if it is a way to write a set of REST services for replacing the old web