-
Core Java
Java Concurrency Tutorial – Locking: Explicit locks
1. Introduction In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such…
Read More » -
Enterprise Java
Exposing HTTP Restful API with Inbound Adapters. Part 1 (XML)
1. Introduction The purpose of this post is to implement an HTTP Restful API using Spring Integration HTTP inbound adapters.…
Read More » -
Core Java
Java Concurrency Tutorial – Locking: Intrinsic locks
In previous posts we reviewed some of the main risks of sharing data between different threads (like atomicity and visibility)…
Read More » -
Core Java
Java Concurrency Tutorial – Thread-safe designs
After reviewing what the main risks are when dealing with concurrent programs (like atomicity or visibility), we will go through…
Read More » -
Core Java
Java Concurrency Tutorial – Visibility between threads
When sharing an object’s state between different threads, other issues besides atomicity come into play. One of them is visibility.…
Read More » -
Core Java
Java Concurrency Tutorial – Atomicity and race conditions
Atomicity is one of the key concepts in multi-threaded programs. We say a set of actions is atomic if they…
Read More » -
Enterprise Java
Spring Integration 4.0: A complete XML-free example
1. Introduction Spring Integration 4.0 is finally here, and this release comes with very nice features. The one covered in…
Read More » -
Enterprise Java
Spring Integration – Configure web service client timeout
Introduction With the support of Spring Integration, your application can invoke a web service by using an outbound web service…
Read More » -
Enterprise Java
Thymeleaf integration with Spring (Part 2)
1. Introduction This is the second part of the Thymeleaf integration with Spring tutorial. You can read the first part…
Read More »