Friday, March 02, 2007

Reading XFire code

The various SOAP and WS-* related specifications have the reputation of being tricky and difficult to understand. The latest project I am involved in requires a relatively deep understanding of WS-*. One way to gain understanding of a specification is by closely studying an implementation of it. Spurred by my previous pleasant experience with it, XFire happens to be that implementation of choice.

Anyway, checking out the project from SVN and building from the sources was fairly easy. A number of tests failed, but all in all, it was a breeze to get the various XFire projects nicely tucked under Eclipse.

From what I can tell, the code is a pleasure to read and it feels like it is the result of fairly good design.


Dan said...

Thanks Ceki. Its looking a bit ugly to me now days after having looked at it so long though :-) If you want to read a cleaner version of XFire check out the CXF code (aka XFire2.0) - Lots of the same concepts, but a better implementation overall.

Ceki said...

Dan, thank you for XFire. I can barely imagine the work that a project like XFire requires. My hat is off to you.

As for CXF, do you think it's ready for prime time?

Dan said...

Its nearly there :-) We're closing down the number of bugs for our next release and its going to be quite solid. I would say even better than XFire.