JWT authentication: securing your Angular + Spring Boot app

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 […]

Read More…

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 […]

Read More…

Java 8 Lambda expressions and functional interfaces

Java 8 lambda expressions in 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 […]

Read More…

ModelMapper for simple mapping of objects

ModelMapper

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 […]

Read More…