Restlet 1.1.0, lightweight REST framework


News: Restlet 1.1.0, lightweight REST framework

  1. Restlet 1.1.0, lightweight REST framework (14 messages)

    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. 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 !

    Threaded Messages (14)

  2. JAX-RS Example?[ Go to top ]

    Sounds very good. I have been looking for a JAX-RS example in your page, but no success.
  3. Re: JAX-RS Example?[ Go to top ]

    Hi Frank, The document you are looking for is part of the User Guide, here is the link: Best regards, Jerome
  4. JAX-RS Blog Post[ Go to top ]

    Here's a blog post with info on JAX RS that may help...
  5. Restlet & Spring Integration[ Go to top ]

    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)?
  6. Re: Restlet & Spring Integration[ Go to top ]

    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: That's all :-) Best regards, Jerome
  7. What's in it - for me?[ Go to top ]

    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
  8. Re: What's in it - for me?[ Go to top ]

    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: Best regards, Jerome
  9. Joke[ Go to top ]

    <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
  10. Integration with Struts2[ Go to top ]

    Hi Jerome, It is possible integrate Restlet with Struts2, without Spring? Thanks.
  11. Re: Integration with Struts2[ Go to top ]

    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
  12. Re: Integration with Struts2[ Go to top ]

    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.
  13. Re: Integration with Struts2[ Go to top ]

    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
  14. 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
  15. 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" "Add full WebDAV support" 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