Optimise conditional expression with Java 8 Predicates

Hi Folks, When we do coding then it is very common need to evaluate conditions which yield to true and false.  There can be many scenarios where we use to evaluate conditions as below: String variable which needs to be verified for null or empty A list of objects which needs to be verified for … Continue reading Optimise conditional expression with Java 8 Predicates

Advertisements

Encryption/Decryption of properties in Spring boot with Jasypt

Hello viewers, In today's post we will talk about how to encrypt/decrypt properties of  application.properties in spring boot project. Before starting my post, I want to ask one question from you. What do you think that why do we need to secure properties of the application or why we need encryption? Any guess!! Okay, Let's … Continue reading Encryption/Decryption of properties in Spring boot with Jasypt

Externalize Data source configuration with Spring boot

In my previous post, I talked about how to configure spring boot with different connection pooling in which spring boot was using its auto configuration feature to implement connection pooling. You might have one question that what if we want to customize the way of spring boot to configure data source and want to configure … Continue reading Externalize Data source configuration with Spring boot

Spring Boot with different Connection Pooling

In my previous post, I talked about spring boot and why we should use it. This post will cover how to implement different connection pooling with spring boot. Before going into the implementation let's have a brief overview about connection pooling. Connection Pooling A connection pool is a cache of maintained database connections so that the connections can be reused … Continue reading Spring Boot with different Connection Pooling