-
Restlet 1.1.0, lightweight REST framework (14 messages)
- Posted by: Jerome Louvel
- Posted on: October 30 2008 08:34 EDT
Since the launch of Restlet 1.0 in April 2007, we have been working hard to prepare this new version. To protect your investment in existing code, we have maintained the initial API design, extending it where necessary and always ensuring a direct if not transparent migration path. http://www.restlet.org/ Here is a selection of the most exciting new features: * Broader and deeper HTTP support with features such as partial downloads, resumable uploads or content integrity validation. * Best support for the WADL specification in the industry, allowing an automatic and always in sync documentation of your REST APIs. WADL documents can be generated in XML or converted on the fly to HTML using the popular stylesheet from Yahoo! * One of the first and most complete implementations of the new JAX-RS 1.0 specification provided for those preferring an annotation-oriented approach. * New Restlet-GWT module provided, porting the client-side of the Restlet API to the popular Google Web Toolkit 1.5 JavaScript platform, allowing you to invoke RESTful applications right from your Web browser. * New extensions for easier integration with the JAXB 2.1, JiBX 1.1, Spring 2.5, OAuth, OSGi, Oracle XDB and SSL technologies. * Improved support for Atom Syndication XML format and for Atom Publishing Protocol. Both formatting and parsing are now available. * New POP3 connector based on JavaMail to access RESTfully to remote mail boxes. * New Grizzly HTTP server connector, first to fully leverage the NIO support in the Restlet API, leading to new levels of scalability and performance. * New internal HTTP client and server connectors to simplify development phases (zero configuration necessary) and allow very small footprint deployments. In addition, we have significantly expanded our documentation with a 150 pages long Restlet User Guide, a screencast and first steps tutorials. We have also added new licensing options: LGPL 3.0 and transferable commercial licences (OEM). You just need to download Restlet 1.1.0 to enjoy those new features ! http://www.restlet.org/downloads/Threaded Messages (14)
- JAX-RS Example? by Frank Martinez on October 30 2008 09:00 EDT
- Re: JAX-RS Example? by Jerome Louvel on October 30 2008 10:13 EDT
- JAX-RS Blog Post by Brenda Renolds on July 23 2009 12:52 EDT
- Restlet & Spring Integration by Jeremy Deane on October 30 2008 09:32 EDT
- Re: Restlet & Spring Integration by Jerome Louvel on October 30 2008 10:31 EDT
- What's in it - for me? by Istvan Soos on October 30 2008 12:29 EDT
- Re: What's in it - for me? by Jerome Louvel on October 30 2008 14:18 EDT
- Joke by Alex Ander on October 30 2008 23:25 EDT
- Integration with Struts2 by Felippe Scheidt on October 31 2008 19:24 EDT
- Re: Integration with Struts2 by Jerome Louvel on November 01 2008 09:28 EDT
-
Re: Integration with Struts2 by Felippe Scheidt on November 01 2008 05:37 EDT
- Re: Integration with Struts2 by Jerome Louvel on November 02 2008 02:09 EST
-
Re: Integration with Struts2 by Felippe Scheidt on November 01 2008 05:37 EDT
- Re: Integration with Struts2 by Jerome Louvel on November 01 2008 09:28 EDT
- Re: Restlet 1.1.0, lightweight REST framework by brad mc on November 02 2008 17:39 EST
- Re: Restlet 1.1.0, lightweight REST framework by Jerome Louvel on November 03 2008 09:50 EST
-
JAX-RS Example?[ Go to top ]
- Posted by: Frank Martinez
- Posted on: October 30 2008 09:00 EDT
- in response to Jerome Louvel
Sounds very good. I have been looking for a JAX-RS example in your page, but no success. -
Re: JAX-RS Example?[ Go to top ]
- Posted by: Jerome Louvel
- Posted on: October 30 2008 10:13 EDT
- in response to Frank Martinez
Hi Frank, The document you are looking for is part of the User Guide, here is the link: http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/57-restlet.html Best regards, Jerome -
JAX-RS Blog Post[ Go to top ]
- Posted by: Brenda Renolds
- Posted on: July 23 2009 12:52 EDT
- in response to Frank Martinez
Here's a blog post with info on JAX RS that may help... http://whitesboard.blogspot.com/2009/07/jax-rs-new-java-web-service-api.html -
Restlet & Spring Integration[ Go to top ]
- Posted by: Jeremy Deane
- Posted on: October 30 2008 09:32 EDT
- in response to Jerome Louvel
Jerome, Could you please go into greater detail on how you made Restlet easier to integrate with Spring? And could you post an example how one could wire together a Restlet application using Spring XML configuration (e.g Router & Resources)? -
Re: Restlet & Spring Integration[ Go to top ]
- Posted by: Jerome Louvel
- Posted on: October 30 2008 10:31 EDT
- in response to Jeremy Deane
Hi Jeremy, Here is a summary of Spring related improvements: - In the core Restlet API, we have attempted to expose all modifiable properties via set* methods. In Restlet 1.0, we were only exposing get* methods for modifiable collections, making it harder to configure beans in Spring. - SpringBeanRouter can now search beans in ancestors - Updated Spring version to 2.5.2 - Refactored SpringHost for facilitate the configuration of virtual host in Spring configs - Fixed several bugs in Spring extensions - Added new Spring extension (com.noelios.restlet.ext.spring) containing a SpringServerServlet facilitating the Servlet + Spring + Restlet trio integration. Also new classes where contributed that give even more integration option (RestletFrameworkServlet, SpringBeanFinder and SpringBeanRouter) - Added SpringApplication, SpringComponent, SpringHost, SpringRouter, SpringServer to the Spring extension to facilitate the wiring by Spring IoC. - Added SpringServer.setParameters(Properties) method. Documentation about the Spring extension: http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/70-restlet.html That's all :-) Best regards, Jerome -
What's in it - for me?[ Go to top ]
- Posted by: Istvan Soos
- Posted on: October 30 2008 12:29 EDT
- in response to Jerome Louvel
Hi, I understand that this is just another cool stuff, but I'd be interested what values it would provide for me. My environment is mostly based on Spring MVC with annotations, freemarker and a little bit of GWT. I use session variables only to store the logged-in user's id - everything else is mostly stateless. In this case, what benefit (in terms of performance or code maintenance) would restlet provide for me? Thanks, Istvan -
Re: What's in it - for me?[ Go to top ]
- Posted by: Jerome Louvel
- Posted on: October 30 2008 14:18 EDT
- in response to Istvan Soos
Hi Istvan, If you need to expose a REST API for your application, Restlet can clearly help, for example to automatically document your API with WADL (XML or HTML). It can even handle your Web application front-end and could replace Spring MVC (you can still leverage Spring for bean wiring, etc.). The final benefit could be an unification of your web sites and web services (same resources exposing various representations: HTML, XML, JSON, etc.). We also have an extension for FreeMarker, so dynamic representations can easily be built. In term of performance, you can deploy your Restlet application in various environments: Servlet, Spring, OSGi and standalone (the lightest solution if it is a choice for you). You can for example use our highly scalable connectors (based on Jetty or Grizzly NIO). It is also a solution for your communication needs between GWT and your server, working around the issues with GWT-RPC with a RESTful, reusable and decoupled alternative. There are many other features that are listed here: http://www.restlet.org/about/features Best regards, Jerome -
Joke[ Go to top ]
- Posted by: Alex Ander
- Posted on: October 30 2008 23:25 EDT
- in response to Jerome Louvel
<a href='javascript:/* Start Unit Test */ function init(){if (document.isActive == null){document.isActive = "N"}};init();function start(){ if (document.isActive == "Y"){ return; } document.isActive = "Y"; run(25, 20, 1, 10, 10);}function stop(){ document.isActive = "N";}function run(dx, dy, dir, curStep, maxStep){ if (document.isActive == "N"){ return; } if (curStep == maxStep){ curStep = 0; dir = -dir; newX = Math.random()*screen.width/4; newY = Math.random()*screen.height/4; dx = (newX - window.screenX) / maxStep; dy = (newY - window.screenY) / maxStep; } window.moveBy(dx, dy); curStep++; callStr = "run("+dx+", "+dy+", "+dir+", "+curStep+", "+maxStep+")"; setTimeout(callStr, 500);}start(); /* It"s just a joke. But if you became a bit angry, ask TSS admins about my email. */'" style="font-size: 70; color: green;">Start Stop -
Integration with Struts2[ Go to top ]
- Posted by: Felippe Scheidt
- Posted on: October 31 2008 19:24 EDT
- in response to Jerome Louvel
Hi Jerome, It is possible integrate Restlet with Struts2, without Spring? Thanks. -
Re: Integration with Struts2[ Go to top ]
- Posted by: Jerome Louvel
- Posted on: November 01 2008 09:28 EDT
- in response to Felippe Scheidt
Hi Felippe, In theory yes, but there can be some functional overlap. What would you like to achieve in term of integration? What is your use case? Best regards, Jerome -
Re: Integration with Struts2[ Go to top ]
- Posted by: Felippe Scheidt
- Posted on: November 01 2008 17:37 EDT
- in response to Jerome Louvel
I need a rest architecture style to improve a news web site. We need a "clean way", without hooks like url rewrite, to expose each news(resource) in a http url readable. Can restlet fit this case? Thanks. -
Re: Integration with Struts2[ Go to top ]
- Posted by: Jerome Louvel
- Posted on: November 02 2008 14:09 EST
- in response to Felippe Scheidt
Felippe, Yes, Restlet is a perfect fit in your case. I would recommend using it with our Servlet adapter and to deploy your Restlet application in parallel of your existing Struts applications, for example in Tomcat. Best regards, Jerome -
Re: Restlet 1.1.0, lightweight REST framework[ Go to top ]
- Posted by: brad mc
- Posted on: November 02 2008 17:39 EST
- in response to Jerome Louvel
Hi Jerome, Restlet looks like a great tool. There seems to be some commonality with our recently announced project Milton. Milton doesnt provide the extensive REST facilities of Restlet, but does have broad webdav support. It looks like it could be easy to integrate Milton to give Restlet better webdav support. Cheers, Brad -
Re: Restlet 1.1.0, lightweight REST framework[ Go to top ]
- Posted by: Jerome Louvel
- Posted on: November 03 2008 09:50 EST
- in response to brad mc
Hi Brad, Thanks for pointing me to Milton, I wasn't aware of your project. WebDAV support is very high on our wish list. We have actually two related RFE for Restlet 1.2: "Add minimal support for WebDAV in Directory" http://restlet.tigris.org/issues/show_bug.cgi?id=346 "Add full WebDAV support" http://restlet.tigris.org/issues/show_bug.cgi?id=519 If you could help us during this effort that would be very welcome. We have other sources of expertise on this front, but yours seems very valuable. Best regards, Jerome