• August 24, 2008 /  Music

    Wrong Eyed Jesus

    Video of Jim White – Perfect Day To Chase Tornados, probably my all time favourite song.

    Jim White performing Perfect Day To Chase Tornados at Rough Trade – This is a great song performed live, seen him do it a few times & it’s pretty much like you hear it here.

  • August 23, 2008 /  Music

    Video of Tom Waits performing Make It Rain, one of my favourite Tom Waits tunes.

    Tom Waits

  • August 23, 2008 /  Music

  • August 19, 2008 /  Technical Help

    Last night my IPod 4th Gen 40GB died.

    • It wouldn’t show up in ITunes or explorer.
    • It hung everything that tried to access it.
    • Couldn’t access it through DOS shell.
    • Couldn’t run chkdsk.
    • Graphical error messages like these informing me to contact Apple support appearing on my IPod screen.
      folder sad

    I thought that the hard drive had died & that I had a dead IPod, until my mate sent me this link Fixit Guide IPods and another mate sent me this one replace ipod hard drive.

    So tonight I took my IPod apart to see how hard it would be, with a view to buying a replacement hard drive & fitting it.

    1. I took the IPod apart – easy
    2. Took the hard drive out – also easy
    3. Gave the hard drive a little tap & a shake
    4. Put it all back together again
    5. IT WORKS!!!!!!!!!!!!!!!
    6. Ran chkdsk – no errors found

    Very happy am I!

    So if you think your IPod is dead, think again & Dig Lazarus Dig!!!

  • August 18, 2008 /  Music

    Just sitting here listening to the new Brian Eno & David Byrne album, their first since My Life In The Bush Of Ghosts 28 years ago! First impressions are that it is awesome.

    Don’t expect My Life In The Bush Of Ghosts, as you won’t get it! Whatyou do get is an album which is superb in every way you would imagine. The production & sounds are pristine, I downloaded the FLAC (Free Lossless Audio Codec – usually hifi quality) & burnt it to CD & now have it on my lovely hifi, Arcam CD192, Exposure 3010 & a pair of PMC GB1s.

    I can’t describe it, but it doesn’t disappoint – just what you’d expect from 2 such great artists! Superb songs, haven’t read the lyrics, yet, but it comes with a great pdf with artwork & lyrics.

    Download it, you know you want to :-)

  • August 15, 2008 /  Music

    Brian Eno & David Byrne are releasing a new album, Everything That Happens Will Happen Today, their first since My Life In The Bush Of Ghosts in 1981. You can download a free MP3 of one of the tracks from their site everythingthathappens.com and the album will be available for download from the site on August 18th.

  • August 14, 2008 /  Java

    If you are having @XmlJavaTypeAdapter problems see this forum post. Just a couple of snippets below from the problem/solution, see the forum post for full details (including source code examples) and resolution:

    @XmlJavaTypeAdapter(OrderAdapter.class)
    public Receipt placeOrder(@WebParam(name = “webOrder”, targetNamespace = “com.javacoda.jaxws.order”)Order order);

    however wsgen then errors with java.security.PrivilegedActionException: javax.xml.bind.JAXBException: com.javacoda.jaxws.order.TransitionalOrder is not known to this context.


    OK, from some more hunting & digging, I’ve solved it :-)

    I need to add the following annotation to my order class as follows, so the JAXBContext knows about it.

    @XmlSeeAlso(TransitionalOrder.class)
    public class Order {
    //snip
    }

    Might help someone out who is having a similar problem.

  • August 14, 2008 /  Development Books, Java

    Not for inexperienced Java Developers, but really the only decent JAX-WS book I could find. It covers most of the topic pretty well, but there are still some things you’ll need to find out yourself (most of which you can probably find in my tutorial). The chapter on his own framework can be missed out, but the rest is pretty good stuff.

    View it on Amazon.

  • August 14, 2008 /  Java

    I got fed up with trying to find JAX-WS resources on the web that didn’t all go along the lines of ‘right-click in Netbeans to create …’ – nothing against Netbeans, but I want to learn how to use a technology, not how to use an IDE. So I wrote a JAX-WS tutorial which I presented to our Java Development Team at work.

    You can download it here.

    The tutorial is very simple, but will teach you how to do most things you need to in JAX-WS. It went down pretty well with the team at work and we have developed a number of new services using JAX-WS and everyone is now fairly competent with the technology.

    There are 9 lessons in total. All building on the same very simple example. Inside the first lesson folder (Jax-ws_1) there is a file named tutorial_contents.txt, this file list all of the lessons. Inside each lesson folder is a file called lesson.txt which tells you the changes made to server, client or both and which classes to look at in this lesson. It should be fairly simple for any reasonably competent Java developer to follow.

    Lessons:

    1. Basic JaxWs service with defaults & simple client.
    2. Generated client.
    3. Annotations & mapping.
    4. XmlJavaAdapters
    5. SOAPFaults. Handlers.
    6. JaxWsPortFactory with timeouts.
    7. Asynchronous calls.
    8. Spring injection
    9. Field/Property mapping quick examples. Marshalling tests.
  • August 14, 2008 /  Development Books, Ruby

    I can highly recommend this book. It is possibly one of the best design pattern books I have read.

    I could write a review, but the reviews on Amazon say it all.

    Read the Amazon reviews (and possibly even buy the book)!