Category Archives: Technology

Android Honeycomb SDK preview out

The competition on the market for tablets is finally intensifying. Soon the Motorola Xoom and Toshiba tablet will be released to the general public and everyone will finally be able to choose a serious tablet that’s not an iPad. These new tablets will feature Google’s tablet optimized version of Android, 3.0 – Honeycomb. Many are slated to follow containing the same OS.

Quite a few sources on the net have already posted their comments on this new Android release, ranging from potential iPad killer to absolute rubbish. I’ve been taken with Android since it was released so I can’t claim to be unpartial but I’m definately impressed by the way it looks. Screenshots are everywhere on the net, have a look and judge for yourself.

Also, Google released a Honeycomb Preview Video that quite clearly shows the immense progress they’ve made with the Android platform. It’s really starting to look like a proper tablet OS. Read more »

GZip RestTemplate

This weekend I created a small application that could gather information from the DISCOGS website using a RESTFul webservice they so very kindly provided. While I already had some previous experience using the RestTemplate provided by Spring I figured it would be a good idea to start there.

As with most of things IT related it didn’t all go according to plan. The RestTemplate I used didn’t support the gzip stream that was returned by the REST service published by Discogs. So how to fix this? There are two ways. Read more »

Automatic JAXB2 & Spring-WS

While working on a project recently I was faced with the task to define a couple of webservices. As my application is completely based on Spring, the logical choice (in my book) would be using Spring-WS. After some deliberation I decided to go with classic Soap based webservices, as the application that would be calling my services did not support REST. Also, Axis 1 was already in place, so integration with that framework was considered important.

I did however want the solution to be as hassle-free as possible. Even though it’s contract first, I didn’t want to spend a lot of time messing about with XSD’s and WSDL and decided to try and generate both of these artifacts based on my Java code. As JAXB2 supports annotation based definition of the resulting XML structure I decided to use that framework to fulfil my marshalling needs. Spring-WS integration with JAXB2 is pretty decent, so why not? Read more »