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 » -
How to FlatMap a JDBC ResultSet with Java 8?
You’re not into the functional mood yet? Then the title might not resonate with you – but the article will!…
Read More » -
Spring Enable annotation – writing a custom Enable annotation
Spring provides a range of annotations with names starting with Enable*, these annotations in essence enable certain Spring managed features…
Read More » -
How to Avoid the Dreaded Dead Lock when Pessimistic Locking – And some Awesome Java 8 Usage!
Sometimes you simply cannot avoid it: Pessimistic locking via SQL. In fact, it’s an awesome tool when you want to…
Read More » -
Getting Notified About RabbitMQ Cluster Partitioning
If you are running RabbitMQ in a cluster, it is not unlikely that the cluster gets partitioned (part of the…
Read More » -
Spring from the Trenches: Injecting Property Values Into Configuration Beans
Spring Framework has a good support for injecting property values found from properties files into bean or @Configuration classes. However,…
Read More » -
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 » -
Caching of web content with Spring’s cache manager
I this post, I would like to show basics how to cache and manage the caching of web content with…
Read More » -
SELECT statements batch fetching with JDBC and Hibernate
Introduction Now that I covered Hibernate batch support for INSERT, UPDATE and DELETE statements, it’s time to analyze SELECT statements…
Read More »