March 01, 2017

Spring Cache - Part 3 - Conditional Cache
In this part of the tutorial, we will see how data can be cached conditionally. (If you haven't checked the previous parts, please visit Part 1 and Part 2 . They contain sample code that the examples below refer) Read More
by
Phee Jay
February 25, 2017

Spring Cache - Part 2 - Cache Keys
In part 1 of the post, we looked at how data can be cached through simple configuration. In this part, we are going to explore the cache keys. Read More
by
Phee Jay
February 23, 2017

Spring Cache - Part 1 - Introduction
Caching is an extremely important aspect of applications that care about lower latencies. There are a multitude of rules one has to adhere to while setting up a cache, in order to optimize the performance; but not overdo it. We will not get into those details in this post. Our focus would be on what Spring provides to enable caching in your applications. Read More
by
Phee Jay
February 17, 2017

Jackson - JSON Property Name Customization in Jackson using PropertyNamingStrategy
Jackson is one of the most popular java libraries for serialization/deserialization of POJOs to/from JSON. By default, Jackson derives the JSON element names from the getter/setter method names of the POJO. e.g. getActorName() is translated to actorName in the resulting JSON. Read More
by
Phee Jay
February 15, 2017

Java - How to Timeout JDBC Queries
Learn how to set timeouts for JDBC queries to prevent indefinite blocking. This guide covers configuring timeouts on individual statements, applying global timeouts at the driver level, and setting timeouts using Spring's JdbcTemplate. Read More
by
Phee Jay
February 12, 2017

Tarlog - Eclipse Plugin for Windows
Tarlog is a plugin for eclipse that provides some useful features if you are working on a Windows machine. It allows you to Copy Path, Open Shell or Open Explorer on the selected file or folder in the project. It also allows changing the font of the editor through Ctrl++ and Ctrl-- keys. Read More
by
Phee Jay
February 09, 2017

Spring - Overriding Spring Beans with Aliases
This blog post discusses how to override Spring beans using aliases and the benefits of managing dependencies in Spring applications. Read More
by
Phee Jay