
Jackson Annotation Examples
1. Overview In this tutorial, we’ll do a deep dive into Jackson Annotations. We’ll see how to use the existing annotations, how to create custom ones, […]
1. Overview In this tutorial, we’ll do a deep dive into Jackson Annotations. We’ll see how to use the existing annotations, how to create custom ones, […]
1. Overview Annotations, a form of metadata which you can add to Java code. These annotations can be processed at compile time and embedded to class files […]
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 […]
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 […]
1. Introduction In this quick article, we’ll discover the @EnabledIf and @DisabledIf annotations in Spring 5 using JUnit 5. Simply put, those annotations make it possible to disable/enable particular test […]
1. Overview One of the most important Spring-MVC annotations is the @ModelAttribute annotation. The @ModelAttribute is an annotation that binds a method parameter or method return value to a named model […]
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 […]
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 […]