Ways to refactor Switch Statements

Hi Folks, When we do coding it is very general practice to use switch statements if we have multiple actions and want to perform one action on the basis of some conditions or some type. Switch statements are good to use as it shows different responsibilities for different case but it may lead to a … Continue reading Ways to refactor Switch Statements

Advertisements

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

Convert existing java project to Maven in eclipse

Hi java Folks, Today, we will discuss how we can convert an existing Java project to Maven in eclipse. To use eclipse utility of converting an existing java project to maven there should be maven installed in eclipse. If maven is not installed in eclipse then you need to install maven in eclipse. To do … Continue reading Convert existing java project to Maven in eclipse