14 December 2016. Tags: Akka, Scala, Kubernetes and Docker.
In this post I am going to talk about one of my favourite features of the Akka toolkit: Location Tranparency.
“What location transparency means is that whenever you send a message to an actor, you don’t need to know where they are within an actor system, which might span hundreds of computers. You just have to know that actors’ address.” (from Akka.NET docs)
We will see how a local application can be split into distributed components that can be scaled independently. This can be achieved by changing only startup code, configuration and deployment, but leaving the main code untouched.
16 November 2013. Tags: Ubuntu.
A few days ago I downloaded the latest release of Guitar Pro 6 for Linux. What first annoyed me was that there is no package for 64 architectures. Yes, you read it correctly, it’s 2013 and Arobas Music still thinks that it is acceptable to provide 32-bit software only.
28 April 2012. Tags: AspectJ, Java, Persistence and Spring.
By looking at Spring Roo I was amazed by how they implemented the Active Record pattern on top of JPA. It uses the Spring Framework (of course!) and AspectJ to decorate the domain objects with JPA annotations and add the necessary methods to deal with persistence. Despite this, I don’t like the automagically generated code from the command line.
In this short tutorial I am going to explain how to do it without Roo. The complete source code can be found in this Gist: https://gist.github.com/2500752. The three commits reflect the development stages.