Spring Boot

Headstart Framework: Identity Access Management (IAM) Service

The general design of the Headstart Framework makes it flexible to implement an Identity Access Management (IAM) service. Then, we could use the service with both monolith or distributed applications.

Read More...

Software Development, Spring, Spring Boot

Spring Boot Security Tests With PreAuth And WithMockUser

When we implement authorization in Spring Boot with Spring Security, for instance, using the PreAuth annotation, we should never skip automated tests for it. We could use the @PreAuth, among

Read More...

Java, Software Development, Spring Boot

Headstart Framework: Flyway and Supported Databases

We have designed the Headstart framework to be database-agnostic to support major database products with the help of Flyway. To achieve this database agnosticism, Headstart uses Spring Data/Hibernate but relies

Read More...

Software Development, Spring, Spring Boot

Retry Operation at specific Exception using Spring Retry

Spring-Retry allows us to retry operations when the codes encounter exceptions. How do we limit the retries to specific exceptions only? For instance, we wouldn’t want to retry SOAP Web

Read More...

Java, Software Development, Spring, Spring Boot

Spring Boot Call Stored Procedure With Spring Data @Procedure

Although most applications use SQL statements, we may need to call stored procedures instead. For instance, we could reuse existing stored procedures instead of crafting new codes. As a result,

Read More...

Java, Java Microservices, Spring Boot

Spring Boot Consul Service Discovery And Client Example

This post shows how to use Spring Boot Service Discovery with Consul. We’ll have two Spring Boot applications. One application registers itself with Consul. It then becomes discoverable to another

Read More...

Java Microservices, Microservices, Spring Boot

Spring Boot Consul Distributed Configuration Example

This post shows an example of a Spring Boot application that consumes distributed configuration from a Consul instance in a local development environment setup. We’ll generate a Spring Boot project

Read More...