Boot

Spring Boot Microservices Example

Welcome to the Spring Boot Microservices Example. Microservices is popular because it allows large systems to be composed of smaller systems. Think of it like the single responsiblity principle. The smaller systems have a single responsibilty to the large system. In the monolithic approach, all the smaller systems are bunched up to make up one large system or one large ...

Read More »

Spring Boot HATEOAS in REST API Example

Welcome readers, in this tutorial, we will implement the HATEOAS principle to REST resources in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as ...

Read More »

Spring Boot JAX-RS with Jersey Example

In this post, we feature a comprehensive article on Spring Boot JAX-RS with Jersey. We will show how to create a JAX-RS web service with Spring Boot and Jersey. 1. Introduction REST (Representational State Transfer) is an architectural pattern for developing web services. REST is a popular choice for web services development projects since it is lightweight, stateless, and therefore easily ...

Read More »

Spring Boot Unit Testing Example

1. Introduction This is an in-depth article related to the Spring Boot Unit Testing. Spring Boot framework has features to build applications. Spring Boot has features related to unit testing the application. The framework has utilities and annotations to perform unit testing. Modules for the Test support are spring-boot-test and spring-boot-test-autoconfigure  which supports auto-configuration for tests. 2. Spring Boot Unit Testing ...

Read More »

Spring Boot with Hibernate Example

Welcome readers, in this tutorial, we will integrate Hibernate with a Spring Boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as Tomcat, Jetty or Undertow). Thus, ...

Read More »

Spring Boot Cucumber Tests Example

In this post, we feature a comprehensive article on Spring Boot Cucumber Tests. We will create a Spring Boot rest application and test the spring boot application with cucumber acceptance testing. 1. Introduction Spring Boot is an open source Java-based framework used to create a micro Service. It is developed by Pivotal Team and is used to build stand-alone and ...

Read More »

Spring Boot Social Login Example

Welcome readers, in this tutorial, we will create a simple spring boot application that authenticates a user via Facebook credentials and displays his/her profile information using Spring Social. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and ...

Read More »

Spring Boot in Memory Basic Authentication Example

Welcome readers, in this tutorial, we will implement the security mechanism with in-memory authentication in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as ...

Read More »

Spring Boot JWT Authentication Example

Welcome readers, in this tutorial, we will implement the security mechanism with JSON Web Token (popularly known as JWT’s) in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using ...

Read More »

Spring Boot FreeMarker Configuration Example

Welcome readers, in this tutorial, we will implement the Freemarker configuration in a spring boot application. 1. Introduction Spring Boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container (such as Tomcat, Jetty or ...

Read More »