Category Spring Boot

Install Spring Boot Application As A Linux Service

This tutorial is going to cover how to install a Spring Boot application as a Linux service, which enables us to start, stop and check application status using standard commands such as: service start payment-service, service stop payment-service and service… Continue Reading →

Spring Boot – How To Set Active Profiles

In this tutorial, we’re going to show how to set active profiles for Spring Boot applications. This is useful for us during application development and deployment. 1. Set Active Spring Profiles In The application.properties File We can set active profiles… Continue Reading →

Serialize Java 8 LocalDate With Jackson In Spring Boot

This tutorial is going to illustrate how to serialize Java 8 LocaleDate with Jackson in Spring Boot. Besides, we also get through how to serialize other types of Java 8 Date Time API. 1. Overview Java 8 introduced us a… Continue Reading →

Reactive HTTP Client With Spring 5 WebClient

This article is going to cover about Spring 5 WebClient, a non-blocking, reactive client for HTTP requests with Reactive Streams back pressure. 1. Introduction To Spring 5 WebClient The WebClient is a non-blocking, reactive HTTP client which has been introduced… Continue Reading →

Using New Composed Annotations for @RequestMapping in Spring Framework

1. Overview This article is going to cover about using new composed annotations for @RequestMapping, the annotation for mapping web requests onto specific handler classes and/or handler methods in Spring Framework. Those annotations, which include @GetMapping, @PostMapping, @PutMapping, @DeleteMapping and @PatchMapping,… Continue Reading →

Using Netflix Feign with Spring Cloud

This tutorial is going to cover how to use Netflix Feign with Spring Cloud and how to override default configurations, declare additional configurations for Feign client in Spring Cloud as well. 1. Preparation 1.1. The RESTful Web Service Let’s assume… Continue Reading →

Package a Spring Boot Application Into War File

This tutorial is going to cover how to package a Spring Boot application into WAR file so that we can deploy the application in any application server such as Tomcat, JBoss, Web Sphere and so on. 1. Package a Spring… Continue Reading →

How to Configure Logging in Spring Boot

Spring Boot facilitates us in developing an application using Spring Framework. This article is going to cover how to configure logging in Spring Boot from basic to advanced level. 1. Enable logging for a Spring Boot application 1.1. Using Spring… Continue Reading →

How To Run A Spring Boot Application

1. Overview This article is going to cover shortly how to run a Spring Boot application. This could be useful for those who’s just started with Spring Boot. Spring Boot application is often packaged in a jar file and embedded… Continue Reading →

Install Spring Boot Command Line Interface on Linux

This article will show you how to install Spring Boot Command Line Interface on Linux system, which includes RHEL, CentOS, Fedora, Debian, Ubuntu, etc. There are 2 ways for us to do that. The first is to install manually and… Continue Reading →

« Older posts

© 2020 HowToProgram — Powered by WordPress

Theme by Anders NorenUp ↑

NewsletterSubscribe To Learn More