Introduction Here in this tutorial I am going to show you how to create a simple Spring Boot application. Then how to build, package and run this Spring Boot application with Docker in Linux environment (CentOS). I am going to use both gradle and maven as build tools for running build on this Spring Boot…

Posted in Docker Spring Boot

Create, Build, Package and Run Spring Boot Application with Docker in CentOS 7

Here I will tell you how to include the required gradle project into another project. Situation may occur when you need to have dependency of another gradle project into your current gradle project, but neither of these projects is a multi-module project. So in this case you can easily add the required project into your…

Posted in Gradle Spring Boot

How include required gradle project into another project

Introduction Here in this tutorial I am going to show you how to upload multiple files using Spring Boot REST API. I had also shown you in my another example how to upload single file using Spring Boot REST API framework. For uploading file(s) you can use any client, for example, browser or any REST…

Posted in Spring Boot Spring REST

How to upload Multiple Files using Spring REST API

Introduction I am going to discuss here how to perform asynchronous request processing via Spring’s DeferredResult class. A DeferredResult can be used when the application wants to produce the return value from a thread of its own choice. A DeferredResult is what is possibly not-yet-finished computation that will be available in future. Spring MVC 3.2…

Posted in Spring Boot Spring REST

Spring Asynchronous Request Processing via DeferredResult Class

Introduction This tutorial walks you through the process of consuming the configurations from the Spring cloud config server. So I will setup a config server and build a client application consumes the configuration on startup and then refreshes the configuration without restarting the client. Let’s say you have some configuration values, in application properties or…

Posted in Spring Boot Spring Cloud

Spring Centralized Runtime Properties Configuration without refreshing the Client

Introduction The tutorial, GraphQL Spring MySQL CRUD example will show you how to build CRUD (Create, Read, Update, Delete) operations using GraphQL with Spring Boot framework. We will use MySQL database server for storing data and Spring Data JPA to perform database activities. My previous tutorials on GraphQL explained about how to wrap REST APIs…

Posted in GraphQL MySQL Spring Boot Spring JPA

GraphQL Spring MySQL CRUD Example

Introduction In this tutorial, I will show you how to delete multiple rows from HTML table as well as from database server at one go. You might have seen tutorial how to display data from server to client side and how to select multiple rows on HTML table. I will put checkbox against each row…

Posted in Angular CSS HTML MySQL Spring Boot Spring REST

Delete Multiple Table Rows From Server Using Angular

Introduction Here I will create an example on how to check/uncheck individual/all checkbox on HTML table rows. You might have seen how to display data from server using Angular and alternate row color using CSS. I will put checkbox against each row on the table so that user will be able to select a particular…

Posted in Angular CSS HTML Spring Boot Spring REST

Angular Check/Uncheck Individual/All Checkbox On HTML Table Rows

Introduction In this tutorial I am going to show you how to display data from server using Angular 9 and how to apply two different colors on alternate rows using css (cascading style sheet). I will use Spring Boot REST API to send data on client side and consume using client side technology Angular 9….

Posted in Angular CSS HTML Spring Boot Spring REST

Display Data On HTML Table From Server Using Angular And Alternate Row Color

Introduction In this tutorial I will show you how to map custom query results into DTO in Spring Data JPA. Situations may occur while you are unable to return the entity object(s) as results from your Spring Data JPA Repository and instead you need to write custom query or native query for your business requirements….

Posted in Spring Boot Spring JPA

How to map Custom Query Results into DTO in Spring Data JPA

Introduction This tutorial will show you an example on how to document REST APIs using OpenAPI 3. When creating a REST API, good documentation is instrumental. Here we will use OpenAPI 3 in Spring application for creating documentation for REST APIs. We create and deploy REST services but we do not have an option to…

Posted in REST Spring Boot Spring REST Swagger

Documenting REST APIs with OpenAPI 3

Introduction The tutorial, REST over HTTPS with client certificate authentication, will show you how we can use client certificate to handshake with server along with basic authentication for consuming the service. Even you can use header authentication along with client certificate to make more secure. I will create Spring Boot application on Spring REST API…

Posted in Security Spring Boot Spring REST

REST over Https with Client certificate Authentication