JSON Web Tokens (JWT) have become a popular choice for implementing secure and stateless authentication in modern web applications. This article delves into integrating JWT authentication with Angular, a powerful JavaScript framework, and Spring Boot, a robust Java backend framework. By the end, you’ll have a solid understanding of the […]
Java
One of the parent languages of object-oriented programming, at high level and with static typing, boasts the ability to abstract hardware differences to allow you to write valid code anywhere.
Java 8 categories of functional interfaces
A functional interface is an interface with only one abstract method. I would like to talk to you about the various categories of functional interfaces most used and known. […]
JPA @Enumerated annotation in Spring Boot
In the world of Spring Boot applications, data modeling plays a crucial role and JPA @Enumerated is here for that. JPA provides an elegant way to map Java classes to database tables, while the @Enumerated annotation empowers you to seamlessly represent enumerations as database columns. This article delves into the […]
Java 8 Lambda expressions and functional interfaces
To talk about lambda functions and functional programming we must first talk about functional interfaces. A functional interface is an interface with one and only one abstract method. They have a special relationship with lambda expressions.From Java 8 we can find many functional interfaces in java.util.function package. A functional interface […]
ModelMapper for simple mapping of objects
Today we will see how to implement a ModelMapper that allows us, for example, to transform an object with many properties into a smaller object with fewer properties. This transformation can be useful when we need leaner objects, perhaps in a list, or when we want to expose only some […]