Spring seems to be all over the place today. Interesting projects just seem to keep coming out of their development machines. Hard to keep up. In my previous blog I had a look at the spring-social project. In this blog post I’ll have a go at the spring-mobile project. I’ll go through the things you have to do for configuration and I’ll have a go at creating a very basic sample application that you can pickup and play around with. I’ll even extend the framework just a little bit to implement a usecase I have that is not covered by the project itself.
Continue reading Playing with the spring mobile project
Some days a go I wrote a blogpost about Learning Mongo. Of course I did not stop learning. As a good habit, I wrote down the next things I learned and played around with. That is what this blogpost is about, next steps in the learning process of Mongo. This post mainly focussus on Replication Sets, object Identity, WriteConcern and a bit about Sharding.
The case for most of the code used in this blog is about creating an EventStore for the Axonframework.
Continue reading Still learning MongoDB
One of the technical fashionable terms is NoSQL. That is not really the reason why I wanted to have a look at it, but still it is a good reason to at least have an understanding of what it is. The best way to do this is to try it out. Together with Allard I am creating a new sample for the Axon framework. This sample must support a lot of inserts and fast queries. This can be done using an sql database, but using a NoSQL database felt good as well. Therefore I started replacing the jpa implementation with a Mongodb implementation. This blog post is about the things I have learning while implementing Mongo. Be warned, I am not an expert, so if you spot improvement, please let me know.
Continue reading Learning Mongodb
I am a experienced maven user. Sometime I love it, sometimes I hate it. I like it a lot better than ant, but in some situation you would like maven to be easier and more descriptive. The past year there was a lot of fuzz about Gradle. This would give you the best of ant as well as the best of maven, and even more. My first encounter was not very positive, but I kept it in my mind to try it later with a more serious project. This blogpost is about that second more serious try. It will not teach the gradle experts anything, but it will be an easy introduction in to what gradle has to bring for people that are just interested in gradle.
Continue reading My first steps with Gradle: creating a multi module java web project and running it with jetty.
The Netherlands is currently in the middle of a large project to change the way we pay for public transportation. We are moving from paying with a cardboard strip (called the "Nationale Strippenkaart", which must be stamped by the driver of the public transportation vehicle you get on) to a new system (the OV-chipkaart) involving an RFID chip on which you can preload money or one or more subscriptions. The idea is not new (the Greater London Oyster Card is a well-know example) but this is the first time I know of that it has been done on a nationwide scale.
Needless to say there have been problems along the way. Michel van Eeten, professor of Governance of Infrastructures at the Delft University of Technology, recently gave an interview to the Dutch engineering magazine De Ingenieur in which he explained how the project is suffering from an implicit choice of offloading all of the project risks (security, privacy, and so on) onto the customer. A few days ago I had a similar experience with problem offloading onto the public by this project…
Continue reading Public Transportation pass woes….
By now I’m sure everybody has at least heard of REpresentational State Transfer (REST). REST is an architectural style that was first properly described by Roy Fielding in his doctoral thesis. Since Fielding published his thesis in 2000 the term REST has become very popular among web developers. Mostly for the wrong reasons of course — REST and the derived term RESTful have morphed into marketing jargon for people who really mean "building a web site" when they say "implementing a RESTful architecture".
One of the things that has gone wrong in the area of REST-the-popular-interpretation is that people think that "doing REST" is the same thing as "using HTTP" (another thing is that they think that REST is something you can do). The reason of course is simple: most people use the term REST to mean building a web site. And you use HTTP for that. And in fact I thought it was not a wholly unreasonable position because one of the constraints of the REST architectural style is such that you really would not want to use anything but HTTP as a rule.
However, today, all of a sudden, I stumbled on ultimate proof that REST really is as independent from HTTP as Fielding claims: a piece of software that uses the REST architectural style but not HTTP.
Continue reading Yes! REST really is not the same as HTTP!!
Today, I released version 0.6 of the Axon Framework. 0.6 has many new features and is another step towards full production readiness. There is still some work to do, but first, let’s take a look at what has changed…
Continue reading Axon Framework 0.6 released