-
Core Java
Google Guava Concurrency – ListenableFuture
In my last post I covered using the Monitor class from the com.google.common.util.concurrent package in the Guava Library. In this…
Read More » -
Enterprise Java
Permissions in OSGi
In a previous post, we looked at implementing a sandbox for Java applications in which we can securely run mobile…
Read More » -
Enterprise Java
Using Jasper Reports to create reports in Java
Last week I was trying to create a report using Jasper. In this post I will document some of the…
Read More » -
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 »