Archive

Archive for March, 2009

At long last, an excellent JAXB tutorial

March 24th, 2009

Like it or not, if you’re writing code today you’re going to have to deal with consuming and producing XML. From my experience, one of the best options to manage the heavy lifting surrounding XML. However finding useful information on JAXB is difficult, with various forum posts and mailing lists, most information is out of date. Luckily Wolfgang Laun has created an outstanding tutorial. Wolfgang’s tutorial is possibly the most comprehensive (and most current) information on every aspect of JAXB. I highly recommend it both as a getting started guide and a reference.

nick Entry

Integration with Apache Camel

March 15th, 2009

Some time ago I read the excellent Enterprise Integration Patterns book and I’ve wanted to leverage the concepts detailed in the book in my own work. Eventually I found the Apache Camel project and have been impressed with how quickly I was able to integrate it into my application.

Camel is essentially a message router that allows you define routing and mediation rules using either a domain specific language (DSL) or XML. Here’s an example of a rule I’m currently using in production:

This is an asynchronous route that accepts an incoming XML payload via JMS and routes it to the correct filter component based on the root element. (While the filter component is a custom component, but it could just as easily be a simple bean invocation, or any other component supported by Camel.)

The more time I spend exploring Camel, the more impressed I am with it. I plan on making it a permanent fixture in my application stack for client projects.

nick Entry ,

WicketForge 0.5.4 Released

March 4th, 2009

WicketForge 0.5.4 was released last night, correcting a few ClassCastException bugs and adding another Wicket XHTML to the list of tags available to be completed. This release doesn’t yet add the properties file support I’ve been working on, but I’m hoping to get time to finish that up shortly.

To update to 0.5.4, please run your IDEA plugin updater.

nick Entry , ,