-
Scala
Typed ask for Akka
Akka is a great tool for writing distributed applications. One thing that always surprised me though is that while being…
Read More » -
Enterprise Java
How to replace a build module with Veripacks
Compare the two trees below. In both cases the goal is to have an application with two independent modules (frontend…
Read More » -
Scala
Dependency injection with Scala macros: auto-wiring
You can look at dependency injection as a fancy name for passing parameters to a function (or constructor arguments to…
Read More » -
Scala
Dry parameter names
How often do you see code like this, especially when using dependency injection, single-responsibility principle, and other “good practices”? …
Read More » -
Scala
Starting with Scala Macros: a short tutorial
Using some time during the weekend, I decided to finally explore one the new features in the coming Scala 2.10,…
Read More » -
Enterprise Java
Event streaming with MongoDB
MongoDB is a really great “NoSQL” database, with a very wide range of applications. In one project that we are…
Read More » -
Core Java
Let’s turn packages into a module system!
Many projects are divided into modules/subprojects using the build system (Maven, Gradle, SBT …); and writing modular code is generally…
Read More » -
Software Development
Trying to understand CAP
The CAP theorem, stated by Brewer and proved by Gilbert and Lynch specifies a property of distributed systems. It states…
Read More » -
Scala
Scala: Missing OO and FP bridge
Scala blends functional and object-oriented programming in many nice ways. You can use both FP an OO-like constructs whichever fits…
Read More »