Category Archives: REST

JAXB parent-child cycle problem

I wrote a RESTful web service that was the backend for an iOS app. Since I wrote the the web administration app using Spring @MVC 3, I used that for the web service also instead of Jersey. One cool thing is how transparent the marshaling of your objects is. Here is a simple example.


Also posted in XML | Tagged , | 3 Responses

Apache Wink

Apache Wink is an incubating project that will allow you to write RESTful JAX-RS (JSR-311) web apps – like Jersey. Read what Dr. Fielding has to say about what is REST and what’s not. DeveloperWorks has a recent article on Apache Wink. They do a commendable thing by giving instructions on how to “materialize” the […]

Also posted in Maven, Web | Tagged | Leave a comment

Jersey 1.0 and jetty:run

If you are using maven and jetty you are probably simply invoking jetty:run with your Jersey web service. Jersey is the JAX-RS (JSR 311) Reference Implementation for building RESTful Web services The problem is you get this exception:

But you are sure you do have your resources. Here is an example:

In pre […]

Also posted in SOA | Tagged , | Leave a comment