Results for the following term searched:

More Stories

Cover Image for Handle spring security authentication exceptions with @ExceptionHandler

Handle spring security authentication exceptions with @ExceptionHandler

updated a few hours ago
springspring-mvc

# Handling Spring Security Authentication Exceptions with @ExceptionHandler If you've been working with Spring MVC's `@ControllerAdvice` and `@ExceptionHandler`, you might have encountered a common problem: it works fine for exceptions thrown by web MVC c

Matheus Mello
Matheus Mello
Cover Image for What is Dependency Injection and Inversion of Control in Spring Framework?

What is Dependency Injection and Inversion of Control in Spring Framework?

updated a few hours ago
dependenciesspring

# āœØ Demystifying Dependency Injection and Inversion of Control in Spring Framework āœØ So, you've heard about "Dependency Injection" and "Inversion of Control" (IoC) in the Spring Framework, and you're wondering what they are all about? Don't worry, my frie

Matheus Mello
Matheus Mello
Cover Image for Is there a way to @Autowire a bean that requires constructor arguments?

Is there a way to @Autowire a bean that requires constructor arguments?

updated a few hours ago
constructorspring

# šŸ“ Is there a way to @Autowire a bean that requires constructor arguments? Hey there tech enthusiasts! šŸ‘‹ Today, we're going to dive into a common question that many developers using Spring encounter: Is there a way to `@Autowire` a bean that requires c

Matheus Mello
Matheus Mello
Cover Image for IntelliJ IDEA shows errors when using Spring"s @Autowired annotation

IntelliJ IDEA shows errors when using Spring"s @Autowired annotation

updated a few hours ago
springspring-mvc

šŸ‘‹ Hey there, fellow tech enthusiasts! šŸ˜Ž Are you using IntelliJ IDEA and encountering errors when utilizing Spring's mighty šŸ”„`@Autowired` annotation? Fret not, my friends, for I have got your back! šŸ™Œ šŸ¤” But before diving into the solutions, let's quic

Matheus Mello
Matheus Mello
Cover Image for When annotating a class with @Component, does this mean it is a Spring Bean and Singleton?

When annotating a class with @Component, does this mean it is a Spring Bean and Singleton?

updated a few hours ago
annotationsspring

# Title: Demystifying @Component Annotation: Is it a Spring Bean and a Singleton? ## Introduction: If you're new to Spring and find yourself grappling with questions about annotations, you're not alone! In this blog post, we'll unlock the mysteries surrou

Matheus Mello
Matheus Mello
Cover Image for Spring MVC @PathVariable getting truncated

Spring MVC @PathVariable getting truncated

updated a few hours ago
javaspringspring-mvc

šŸ–Šļø Hey there tech enthusiasts! šŸ‘‹ Welcome back to my tech blog! In today's post, we're going to tackle a common problem encountered by many developers when using Spring MVC's `@PathVariable` annotation. So, if you've ever faced the issue of your path vari

Matheus Mello
Matheus Mello
Cover Image for How to manage REST API versioning with spring?

How to manage REST API versioning with spring?

updated a few hours ago
javaspringspring-mvc

# How to Manage REST API Versioning with Spring Are you struggling to find an easy and maintainable way to manage REST API versioning using Spring? Don't worry, we've got you covered! In this blog post, we'll walk you through a common issue faced by devel

Matheus Mello
Matheus Mello
Cover Image for Autowiring two beans implementing same interface - how to set default bean to autowire?

Autowiring two beans implementing same interface - how to set default bean to autowire?

updated a few hours ago
javaspringspring-mvc

# šŸš€ Autowiring two beans implementing the same interface - how to set default bean to autowire? šŸ¤” Have you ever come across a situation in your Spring application where you have multiple beans implementing the same interface? And you want to set a defau

Matheus Mello
Matheus Mello
Cover Image for What is javax.inject.Named annotation supposed to be used for?

What is javax.inject.Named annotation supposed to be used for?

updated a few hours ago
dependency-injectionjavaspring

# The Mystery Behind `javax.inject.Named` Annotation šŸ¤” Have you ever stumbled upon the `javax.inject.Named` annotation and wondered what it is used for? šŸ¤·ā€ā™€ļø Fear not, for today we are going to unravel this mystery and provide you with a complete guide

Matheus Mello
Matheus Mello
Cover Image for Spring Data JPA map the native query result to Non-Entity POJO

Spring Data JPA map the native query result to Non-Entity POJO

updated a few hours ago
hibernatejpaspringspring-data

šŸ“ Spring Data JPA: Mapping Native Query Results to Non-Entity POJOs šŸŒ± Have you ever faced the challenge of mapping the result of a native query to a Non-Entity POJO in Spring Data JPA? Fear not! In this blog post, we will explore common issues and provi

Matheus Mello
Matheus Mello