Year: 2012
-
Scala
Parallelization of a simple use case explained
Some time ago a friend of mine asked me about the possibilities of speeding up the following process: they are…
Read More » -
Enterprise Java
MyBatis Tutorial – CRUD Operations and Mapping Relationships – Part 2
To illustrate we are considering the following sample domain model: There will be Users and each User may have a…
Read More » -
Scala
Scaling Scala vs Java
In my previous post I showed how it makes no sense to benchmark Scala against Java, and concluded by saying…
Read More » -
Core Java
Google Guava – Synchronization with Monitor
The Google Guava project is a collection of libraries that every Java developer should become familiar with. The Guava libraries…
Read More » -
Core Java
Java Intrinsics and Performance
The original question was How to count the number of 1’s a number will have in binary? I included a…
Read More » -
Scala
Non-blocking I/O – discovering Akka
Here comes the time to follow some good practices when implementing actors. One of the most important rules we should…
Read More » -
Scala
Two actors – discovering Akka
Hope you are having fun so far, but our application has serious performance defect. After measuring response times of the…
Read More » -
Core Java
Guava’s Strings Class
In the post Checking for Null or Empty or White Space Only String in Java, I demonstrated common approaches in…
Read More » -
Enterprise Java
MyBatis Tutorial – CRUD Operations and Mapping Relationships – Part 1
CRUD Operations MyBatis is an SQL Mapper tool which greatly simplifies the database programing when compared to using JDBC directly.…
Read More »