So in my last article in this series I talked about creating a basic REST server with Spring Roo. Here I start running the server and testing it.
blog
Spring Roo Tutorial: LongURL, Part 2
Spring Roo Tutorial: LongURL, Part 1
A little while back I needed to create a simple server to supply some information to some local machines, and cache that information. I realised that it was probably a project I could use Spring Roo to great effect, and that it was simple enough to provide the basis for a tutorial. Here is that Tutorial
Java and XML
This article is kind of like "Meta Research". I'm not going to tell you how to process XML in Java, I'm just going to point you at some other cool tutorials which do. These are all by Lars Vogel. I strongly recommend his training material for its clarity.
Since the dawn of time (well since I started to process XML) there have been two styles of loading XML, and one main style of writing it. You either loaded up the whole file into memory (through "DOM" - the Document Object Model), or if you were fancy, or worried about running out of memory, you used SAX - the amusingly named "Simple API for XML".
Well I was interested to read Lars Vogel say "Both DOM and Sax are older API's and I recommend not to use them anymore.". He is of course saying that a number of techniques introduced in JDK 1.5 and 1.6 are now better than the old ways.
Spring Roo Cookbook - from Packt - Reviewed
Here is a review of a book I bought while still in "Early Adopters get the incomplete ebook" phase. Spring Roo Cookbook from Packt Publishing.
OpenGamma Open Source Risk Engine
There is one company I'd like to learn a lot more about and that is OpenGamma. I'd like to work with them or their clients (or possibly for them) except that they are in partial stealth mode. I seem to be unable to get any more information than you can from their website and twitter feed.
This article is prompted by the news that OpenGamma has obtained significant funding.
Joy of Stats
There is an interesting and enjoyable programme available to UK people through the BBC iPlayer. Its subject is Statistics. Yep - The Joy of Stats: Professor Hans Rosling presents a documentary about statistics, exploring their history, how they work mathematically and how they can be used to see the world as it really is.
reCaptcha for Drupal - protection against spam users
I recently launched several Drupal based websites where people could register - but not get access until someone authorised them. Sadly this resulted in several spam users a day
[EDIT: This blog entry is out of date: It looks like reCaptcha might have been cracked so I will be using different CAPTCHA technologies rather than reCaptcha. eg
http://www.governmentsecurity.org/latest-security-news/forums-flooded-wi...
]
OpenGamma Open Source Risk Engine
Over the last few years I've spent a lot of time helping SwissRe with their Risk Systems. I don't believe it is a great secret that they used Murex as well as home grown libraries for calculating that risk.
Well I've been interested to hear of a new cloud orientated product for Risk :OpenGamma.
Which Java on Ubuntu
Ubuntu supplies the "OpenJDK" flavour of Java by default. This may be fine for most purposes but you will find several development tools demand that you use Sun/Oracle's own Java. Now finding it and installing it is not a great problem. There are several FAQs for that. But every so often the system gets confused about which Java it is supposed to be using.