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 » -
Scalable, Robust – and Standard – Java Web Services with Fibers
This blog post discusses benchmarking web service performance under load. To learn more about the theory of web service performance,…
Read More » -
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 »