Design Pattern: the Asynchronous Dispatcher

Today we’ll revisit a common design pattern, the Observer, and one of its derivative for multi-threaded processing: the Asynchronous Dispatcher.

Read more of this post

Advertisements

Java 8 Lambda in details part V : Functional interface definition and lambda expression implementation

In this last post we’ll look at the functional interface formal definition and the way lambda expressions are implemented.

Read more of this post

Java 8 Lambda in details part IV : Multiple inheritance resolution for defender methods

In this post we’ll look at conflict resolution rules for multiple inheritance introduced along with defender methods in JDK 8.

Read more of this post

Java 8 Lambda in details part III : Method and constructor referencing

In this third post dedicated to Java 8 Lambda expressions, we’ll look at the new :: operator introduced to allow method and constructor referencing.
Read more of this post

Java 8 Lambda in details part II : Scoping of “this” and “effectively final” variable semantic

In this second post, we’ll look at the scoping of the this keyword inside a lambda expression and the semantic of the so called “effectively final” local variables.
Read more of this post

Java 8 Lambda in details part I : Closure and Mutability

This article is the first one of a serie dedicated to Java 8 Lambda expressions. The purpose is not to introduce the main concepts of lambda expressions, many blogs over there do it very well. The idea is to
shed some light on tricky details and side effects. If you’re not familiar with the new lambda-related features in Java 8, I strongly advise to look at the following article http://cr.openjdk.java.net/~briangoetz/lambda/lambda-state-4.html

Today we’ll look at the mutability issue when dealing with closures.

Read more of this post

Design Pattern: the Pipeline

Today we’ll have a look into the Pipeline pattern, a design pattern inspired from the original Chain of Responsibility pattern by the GoF

Read more of this post