ApacheCon, CXF REST progress, CXF Architecture Guide…

October 15th, 2006

ApacheCon this year was… busy. Lots of hacking, eating, drinking, and meetings. It was a good time though and it was great to see everyone again.

I gave my REST vs SOAP smackdown! talk on Friday. It is supposed to be a discussion about what the two are and when/where to apply the principles/technologies. REST vs SOAP is a bit of a non sequitir as one is an architecture and one is a technology. This definitely came up during the talk which was good. It was a pleasure to have Roy Fielding show up there as he had some particularly insightful comments. When we started talking about whether or not things need a description language, he said the web already has one - HTML. Forms for POST and a#href for GET. I don’t know that I buy this argument. These things do not fully describe things like content types or available parameters.

I did a lot of work at AC on CXF. I had a good time working on the Geronimo integration with David Jencks. I think we’re pretty close to getting the basics done. I am reminded though how stupid JEE is. The way you deploy a service is to create a servlet mapping where the is the web service class name. How stupid is that?

I also hacked a bit on the CXF HTTP REST implementation. I’ve got it pretty much working now. I have to say I was surprised how cool it was to take my JAX-WS service and be to test it in the web browser :-). You can use URI templates within annotations to map your services to URIs (i.e. @RestResource(location=”/customers/{id}”). I’ll have more details on this later this week once I check it in. We’re publishing SNAPSHOTs now so you’ll be able to try it out yourself.

We’re hard at work on CXF M1. We have a few things to do yet, but it the list is dwindling fast. I’m really excited about how good things are looking and I’m hopeful that we can start a vote on the release soon! One final note: if you want to get involved, we’ve been working on an architecture guide. It should give you the basics to start hacking and understand the overall workings.

One Response to “ApacheCon, CXF REST progress, CXF Architecture Guide…”

  1. Stefan Tilkov's Random Stuff Says:

    REST and CeltiXFire

    If you’re interested in the REST-vs.-SOAP permathread, check out this comment from Dan Diephouse — this looks like the first Web services framework that seems to have a REST binding that’s actually worth the name….