Spring Boot

Spring Boot Actuator – Securing HTTP Endpoints

Introduction Here we will see example on securing HTTP endpoints in Spring Boot application. Like other sensitive URLs, you should take care to secure HTTP endpoints. If Spring Security is present, endpoints are secured by default using Spring Security’s content-negotiation strategy. If you wish to configure custom security for HTTP endpoints, for example, only allow […]

Spring Boot Actuator – Accessing Endpoints via JMX

Introduction This tutorial will show you how to access Endpoints via JMX in Spring Boot Actuator. As we know only /actuator/health and /actuator/info are accessible over HTTP protocol for security reasons. Therefore if you want to access other end points you have to access over JMX. JMX console comes with the JDK installation, so you […]

Spring Boot Actuator – Production Ready Features

Introduction Spring Boot Actuator that includes additional features to help you monitor and manage your application in production. You can monitor your application’s auditing, health, and metrics by using HTTP endpoints or with JMX. Spring Boot Actuator includes a number of built-in endpoints and lets you add your own. For example, the health endpoint provides […]

Create Microservices using Spring Boot 2.1 and build using Gradle

Introduction Here we will see how to create Microservices using Spring Boot and Spring Cloud and build using Gradle tool. What are Microservices? Before I tell you about the microservices, I woul like to tell you about monolithic architectural style, which is built as a single, autonomous unit. So let’s say an web application with […]

Integrate H2 In-memory Database with Spring Boot 2.1 and build using Gradle

This tutorial will show you how to integrate in-memory H2 database with Spring Boot 2.1 and build using Gradle tool. We will see here simple JPA example to understand how it works. What is an in-memory database? An in memory database is created when an application starts up and destroyed when the application is stopped. […]

Angular + Spring Boot file upload example

Introduction Here we will see how to upload file using Angular and Spring Boot application. The Angular + Spring Boot file upload example will use the Angular example from and we will see here how to write server side code for Spring Boot application. We will also exclude the default server Tomcat and include the […]

Use Jetty instead of Tomcat in Spring Boot application

Introduction Spring Boot web starter uses Tomcat as the default embedded servlet container or Tomcat is the default embedded server. In this example we will see how to use Jetty instead of Tomcat in Spring Boot application. Configurations Generally we need to exclude the Tomcat server and use the Jetty starter in the dependency either […]

Spring Boot + Angular Functional Reactive Programming Example

Introduction This tutorial is about Spring Boot + Angular Functional Reactive Programming Example that will show you how you will create REST APIs using Spring Boot Functional Reactive Programming and consume these server side REST APIs using Angular Reactive Programming. We have seen in our example on Spring Boot Functional Reactive Programming, which you must […]

Spring Boot Functional Reactive Programming Example

Introduction This tutorial will show you an example on Spring Boot Functional Reactive Programming (FRP). What are Reactive and Functional Reactive Programming? Reactive programming is a declarative programming paradigm concerned with data streams and the propagation of change. In other words, Reactive Programming is a style of micro-architecture involving intelligent routing and consumption of events, […]

Scroll to top