Search Results for: Concurrency
-
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
EJB 3.x : Lifecycle and Concurrency models (part 1)
Java EE component life cycle and concurrency related details might not be new for seasoned professionals, but it is something which…
Read More » -
Enterprise Java
Java EE Concurrency API Tutorial
This is a sample chapter taken from the Practical Java EE 7 development on WildFly book edited by Francesco Marchioni.…
Read More » -
Core Java
Playing with Java 8 – Lambdas and Concurrency
So Java 8 was released a while back, with a ton of features and changes. All us Java zealots have…
Read More » -
Core Java
Java 8 Friday Goodies: Lean Concurrency
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Core Java
Fine-Grained Concurrency with the Guava Striped Class
This post is going to cover how to use the Striped class from Guava to achieve finer-grained concurrency. The ConcurrentHashMap…
Read More » -
Core Java
Java concurrency: the hidden thread deadlocks
Most Java programmers are familiar with the Java thread deadlock concept. It essentially involves 2 threads waiting forever for each…
Read More » -
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
JPA/Hibernate: Version-Based Optimistic Concurrency Control
This article is an introduction to version-based optimistic concurrency control in Hibernate and JPA. The concept is fairly old and…
Read More »