wwerner's blog

tutorials, tips and trivia on eclipse, osgi, web & xml technologies

Archive for the ‘jaxrs’ tag

RESTful HTTP with JAX-RS

with one comment

In this post, we’ll look into creating a RESTful HTTP interface using JAX-RS. We’ll see that it is pretty easy to expose ordinary java methods through HTTP.

We’ll create a trivial model of a movie database and expose it via RESTful HTTP services as JSON and XML using JAX-RS, a little JAXB, Apache CXF, maven and Spring. We’ll see that we need very little code to achieve that. This post focuses on the service front-end, the data is not persisted. We’ll add JPA based persistence in a later post.


read more ...

Written by Wolfgang Werner

November 13th, 2010 at 11:32 pm

Posted in Uncategorized

Tagged with , ,