Search Results for: Concurrency
-
Enterprise Java
Farewell to Asynchronous Code
Quasar is a library that adds true lightweight threads (fibers) to the JVM. These are very cheap and very fast…
Read More » -
Enterprise Java
How does Hibernate store second-level cache entries
Introduction The benefit of using a database access abstraction layer is that caching can be implemented transparently, without leaking into…
Read More » -
Enterprise Java
Timeout policies for EJBs : how do they help?
EJB 3.1 introduced timeout related annotations as a part of its API. @AccessTimeout @StatefulTimeout Let’s quickly look at what they…
Read More » -
Core Java
Shooting yourself in the foot with Random number generators
This is not going to be one of the posts explaining how a random number generator is not so random…
Read More » -
Enterprise Java
Hack up a Simple JDBC ResultSet Cache Using jOOQ’s MockDataProvider
Some queries shouldn’t hit the database all the time. When you query for master data (such as system settings, languages,…
Read More » -
Core Java
Getting Java Event Notification Right
Implementing the observer pattern to provide Java event notification seems to be a straight forward thing to do. However there…
Read More » -
Enterprise Java
Hibernate CascadeType.LOCK gotchas
Introduction Having introduced Hibernate explicit locking support, as well as Cascade Types, it’s time to analyze the CascadeType.LOCK behavior. A…
Read More » -
Core Java
IntelliJ IDEA internal design
The first version of IntelliJ IDEA was released in January 2001, and at that time it was one of the first…
Read More » -
Core Java
Mapreduce in Java8
Wordcount is to Mapreduce what “Hello world” is for rest of the programming world. Recently I have been exploring some…
Read More »