Tag: Java
-
Create a RESTful CRUD Application with Spring Boot

In this article, I will show what are the main endpoint needed to have a CRUD application. I show how and explain to create those endpoints to be RESTful compliant.
-
Connect a Database to a Spring Boot Application

In this article, I will connect my Spring Boot Application to a PostgreSQL database. Adding the dependencies, configuring the application and creating the entities and repositories.
-
Creation of Spring Boot App and CORS Configuration

In this first article, I will start by creating the Spring Boot application and configure the CORS to be accessible by any Frontend (Angular or React).
-
Java 21 is coming! What’s new?

Java 21 will be released the September 19th of 2023. But the most important, is what this version includes. String templates, Record Patterns, Pattern Matching for Switch and the Virtual Threads.
-
For complex topics, I stop using Spring Services

When we need to write complex Services, using a Object Oriented solution will ease the implementation and facilitate the unit tests.
-
Which Authentication System to Choose?

Choose the right authentication system without compromising the security. This may be a hard topic to handle on every project.
-
Problems I’ve Learned After Using Microservices Architecture for 10 Years

Don’t use a microservices architecture to create a new project. Don’t add complexity. I’ve worked on 3 projects with microservices architecture which shouldn’t have use it.
-
How to Use the Fluent Style to Easily Create a Dataset for My Unit Tests

When writing unit tests or integration tests, I have to create objects. Sometimes with a lot of mandatory fields. Instead of repeating this, instead of using utils methods, I use the Fluent style.
-
What You Should Know When Using Liquibase

A lot of years working now with Liquibase. It’s a powerful tool to integrate into every application which has a database connection. Still, there are some best practices to take into account if you don’t want Liquibase to be against you.
-
How to SECURE My Microservices Architecture (REACTJS + SPRING CLOUD GATEWAY) With Keycloak

In this article I show how to connect a React application to a Spring Cloud Gateway backend using Keycloak as an Authorization Server.
