Java
-

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

Java Performance Tuning: Getting the Most Out of Your Garbage Collector
What’s going on under the hood of the JVM and how Garbage Collection affects Java performance? The performance tuning world…
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 »




