Integrate Swagger with Spring boot application for RESTful API documentation-Lab 4

Hi Readers, I am happy to post another blog post on how to integrate swagger with Spring boot application for RESTful API documentation. You have created a RESTful project(say) and like to integrate swagger for representing your RESTful API then this post is for you. In pom.xml add the below dependency io.springfox springfox-swagger2 2.2.2 io.springfox springfox-swagger-ui … Continue reading Integrate Swagger with Spring boot application for RESTful API documentation-Lab 4

Integrate H2 database in your Spring Boot Application – Lab 3

Hi Readers, I am happy to post another blog post on how to integrate H2 database in your Spring Boot Application. In this tutorial we will be using the H2 database in embedded mode. You have created a  spring boot application and like to integrate with h2 database. In pom.xml add the below dependency. <!-- H2 … Continue reading Integrate H2 database in your Spring Boot Application – Lab 3

Monitor your built-in endpoints- Spring Boot Lab 2

Hi Readers, I am happy to post another blog post on how to monitor your built-in endpoints of your Spring Boot application. While i was checking my STS console my look peeped into area which is shown below. If you like to activate your built-in endpoints in your spring boot applciation. Just add the below dependencies … Continue reading Monitor your built-in endpoints- Spring Boot Lab 2

Using map reduce to find max and min temperature for a data set – lab 1

Hi Readers, I am happy to post another blog post on how to use map reduce to find Max and Min temperature of a data set. I have a dataset (say temperaturedata.txt) file. I like to analyze the above data set using map reduce. I have a written a map reduce program to find the max … Continue reading Using map reduce to find max and min temperature for a data set – lab 1

Integrate inmemory authentication for a Spring Boot application – Lab 1

Hi Readers, I am happy to post another blog post on how to Integrate inmemory authentication for a Spring Boot application. I have created a simple spring boot project in STS IDE using Spring Starter kit. While navigating through the starter kit for creating your spring boot application you need to select web so that … Continue reading Integrate inmemory authentication for a Spring Boot application – Lab 1

Easy to read/ search contents in a file using grep output

In post we are going to find out how we can display the grep contents(colorful) in application log file(say). You are searching a particular content in a application log file. The log file is too big and you need to open it in a notepad++ or editplus. Rather than use the below tip. Go to the … Continue reading Easy to read/ search contents in a file using grep output

Different Java versions – codename and features

Below are the changes introduced with each version. Java 1.0 ( 1996 ) Codenamed Oak and released on January 23, 1996 Java 1.1 ( 1997 ) JDBC (Java Database Connectivity) Inner Classes Java Beans RMI (Remote Method Invocation) Reflection (introspection only) Java 1.2 ( 1998 ) Collections framework. Java String memory map for constants. Just … Continue reading Different Java versions – codename and features