Java
-

Java 8 Lambdas in One Line
If you understand this line, or better still can write this code you can pretty much say that you have…
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 » -

7 Things You Thought You Knew About Garbage Collection – and Are Totally Wrong
What are the biggest misconceptions about Java Garbage Collection and how’s it really like? When I was a kid my…
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 » -

A way to read properties with variable interpolation
Recently, I tried to define and read a global properties in an application server. The benefit of such property configured…
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 » -

Creating a DSL for AWT’s Robot
The Java SDK ships with the class java.awt.Robot that allows the automation of keyboard and mouse input as well as…
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 » -

How to Use Java 8 Streams to Swiftly Replace Elements in a List
Imagine you have a list of items: List<String> books = Arrays.asList( "The Holy Cow: The Bovine Testament", "True Hip Hop",…
Read More »




