Spring Boot

The Spring Framework is an open source framework for application development on the Java platform. At its core is rich support for component-based architectures, and it currently has over twenty highly integrated modules.

spring-boot springboot spring

Observability of SpringBoot Services K8s with Prometheus and Grafana

In kubernetes (k8s) we can monitor our spring boot services and gain insights on it with Prometheus and Grafana. Continuing on from our previous post, Spring Data REST on Kubernetes. We add the following dependency to the vadal-data-rest service pom.xml.

Avoiding Boilerplate Code With MapStruct, Spring Boot and Kotlin

The mapstruct-processor is required to generate the mapper implementation during build-time, while kapt is the Kotlin Annotation Processing Tool, and is used to reference generated code from Kotlin.

SpringBoot AMQP with RabbitMQ in Kubernetes

As with previous blogs we use a local docker desktop kubernetes set up and helm to install the capability.

How to Build Fault Tolerant Redis Network With Spring Boot and Docker

Creating a spring boot application with Redis cache using Docker. Different ways to build a fault-tolerant Redis network. Sharding with a redis cluster. Replication with redis cluster.

Create Docker Image without Dockerfile in Spring Boot

Learn how to create Docker Image without Dockerfile in Spring Boot using Cloud Native Buildpacks. What is new in Spring Boot 2.3.

Setup an Amazon Api Gateway

This article will talk about creating a Spring Boot microservices application, deploying it on an EC2 instance and then exposing the REST…

Reactive Programming with Java Spring, R2DBC and MariaDB

We'll take a look at the (very) brief background of not only what Reactive Relational Database Connectivity (R2DBC) is but why it exists, and then dive into the code to see how the new MariaDB R2DBC connector can be used to create fully reactive, Java Spring applications!

How to Inject a Map from a YAML File in Spring Boot

Learn how to inject a Map from a YAML file in Spring Boot.What is a YAML file? Learn how to inject YAML properties as a Map in Spring Boot.

Angular + Docker with a Big Hug from Spring Boot

Use Docker to build & deploy an Angular app! Includes how to combine Angular + Spring Boot into a JAR, dockerize it, and deploy to Knative + Cloud Foundry. Create an Angular + Spring Boot App. Create a Docker Container for Your Angular App. Deploy Spring Boot to Heroku

Code first database design & development using JPA, Flway, Fastnate...

We’ll look at a sample approach using a very simple example as to how we could potentially utilize these tools to make the application developers life easy and create as well as maintain a database using a code first approach.

JWT vs Opaque Access Tokens: Use Both With Spring Boot

JWT vs Opaque Access Tokens: Use Both With Spring Boot. Often we talk about how to validate JSON Web Token (JWT) based access tokens; however, this is NOT part of the OAuth 2.0 specification. JWTs are so commonly used that Spring Security supported them before adding support for remotely validating tokens. Should I Validate Access Tokens Locally or Remote? Validate Access Tokens Locally and Remotely! Create a New Spring Boot Application. Configure Spring Security to Validate JWTs and Opaque Tokens. Better JWT Validation. Configure and Run Your OAuth 2.0 Application. Get a Token with the OIDC Debugger.

Application Monitoring with Prometheus and Grafana

We have created the client applications with REST APIs and used Spring Boot Actuators to monitor the health of the applications, metrics for the REST APIs, Database Connections & Status, Tomcat and Hikari Connections, Cache Management, Scheduled Tasks, Environment of an application and much more.

Spring Cloud Gateway — Encryption/Decryption of Request/Response

This post provides a working example of using Spring Cloud Gateway to decrypt incoming request and encrypt outgoing response.

OpenAPI/Swagger UI & Codegen with Spring Boot

OpenAPI/Swagger UI & Codegen with Spring Boot. We are going to look at Swagger UI and Codegen. And step by step configured it with Spring Boot Application.

How to use Caffeine Cache with Spring Boot

Learn how to use Caffeine cache with Spring Boot. Caffeine cache is a high-performance cache library for Java. Caffeine is a high performance Java 8 based caching library providing a near optimal hit rate. It provides an in-memory cache very similar to the Google Guava API. Spring Boot Cache starters auto-configured a CaffeineCacheManager if it finds the Caffeine in the classpath

Angular + Docker with a Big Hug from Spring Boot

Use Docker to build & deploy an Angular app! Includes how to combine Angular + Spring Boot into a JAR, dockerize it, and deploy to Knative + Cloud Foundry. Learn how to use Docker to create an image for your Angular app and deploy it to Heroku. Then, I’ll show how to combine Angular and Spring Boot into the same JAR artifact for deployment. You’ll learn how to Dockerize the combined apps using Jib and Cloud Native Buildpacks. Finally, I’ll show you how to deploy your Docker image to Heroku, Knative on Google Cloud, and Cloud Foundry.

Create a Self Signed Certificate using keytool and host your Spring Boot Application

Create a Self Signed Certificate using keytool and host your Spring Boot Application

How to Get and Resolve Circular View Path Errors in Spring MVC

Circular View Path Error - Learn about the Circular View Path error in a Spring Boot project. We'll look at how we get and resolve Circular View Path errors in a Spring MVC application.

Spring Boot 2.3.1 Available Now

Spring Boot 2.3.1 Available Now. I’m happy to announce that Spring Boot 2.3.1 has been released and is now available from repo.spring.io and Maven Central.

Learn how to build a server application using Spring Boot to upload files

Hey folks, in this blog we are gonna build a server application, using Spring Boot, that will be used to upload and store files in it.