A life comited to learning

Quick introduction to REST and JAX-RS

Here are some slides introducing to REST world. Examples are using JAX-RS (JSR 311).

If we’re moving to the cloud-era, the undestanding of this architecture style is essential. In the cloud we are presented with services (Storage, Search, Graph, Geolocation, …) that we can and should use to build applications. Almost all of these services, available  in the cloud, provide some kind of interface and happens that, this  interfaces is, generally, a RESTful Web Service. If I want collaborate with these services I must talk the same language!! Moreover, exploring this architectural style in new applications opens the door for realy distributed and scalable systems, while the simplicity is kept high!

Here the slides:

PDF can be downloaded from here.

jpereira

http://jpereira.eu

View more posts from this author
5 thoughts on “Quick introduction to REST and JAX-RS
  1. Paulo Pires

    While recent versions of Java EE ease the development of Web-Services, the same doesn’t happen with true REST applications. Working with XML and JSON is a pain in the ass if you don’t use tools as Xstream and Gson but the real issue is with the REST functionality itself. I’d recommend you to take a lot at restlet.org.

     
  2. joaomrpereira

    Yeah, Restlet project was one of the first frameworks on the stage for easing development of applications following the rest architectural style, in fact the guy behind restlet (Jerome?) is a member of the expert group for JSR 311. 
    Object mapping (Object XML/JSON,…) may seem the most boring thing that is necessary, but with the libraries today and the abstractions that were built on top of those libraries, it’s not that complicated… some frameworks can do this mapping automatically for you, and you don’t even need to touch XML or JSON in your server code, or even be aware of that while coding your objects. Of course, if you have a complex object model and want to expose that complexity to the client, then… good luck :)What do you mean by REST functionality?

     

Leave a Reply

Your email address will not be published. Required fields are marked *