@Lookup Annotation in Spring

2021 VietMX 0

1. Introduction In this quick tutorial, we’ll take a look at Spring’s method-level dependency injection support, via the @Lookup annotation. 2. Why @Lookup? A method annotated with @Lookup tells Spring […]

Spring @Primary Annotation

2021 VietMX 0

1. Overview In this quick tutorial, we’ll discuss Spring’s @Primary annotation which was introduced with version 3.0 of the framework. Simply put, we use @Primary to give higher preference to […]

Spring @RequestParam Annotation

2021 VietMX 0

1. Overview In this quick tutorial, we’ll explore Spring’s @RequestParam annotation and its attributes. Simply put, we can use @RequestParam to extract query parameters, form parameters, and even files from […]

Spring Data JPA @Modifying Annotation

2021 VietMX 0

1. Introduction In this short tutorial, we’ll learn how to create update queries with the Spring Data JPA @Query annotation. We’ll achieve this by using the @Modifying annotation. First, we’ll […]