Concurrency
-
Enterprise Java

EJB 3.x : Lifecycle and Concurrency models (part 2)
This is the second post of the two part series. The first part covered the life cycle and the concurrency behavior…
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

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 » -
Core Java

Java’s Volatile Modifier
A while ago I wrote a Java servlet Filter that loads configuration in its init function (based on a parameter from…
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

Top 50 Java Thread Interview Questions Answers for Freshers, Experienced Programmers
You go to any Java interview, senior or junior, experience or freshers, you are bound to see couple of questions…
Read More » -
Core Java

Adding @atomic operations to Java
Overview How might atomic operations work in Java, and is there a current alternative in OpenJDK/Hotspot it could translate to.…
Read More »


