Spring component scan exclude
How to exclude classes/packages from Component Scan in Spring Framework? The task is a bit tricky, especially when regexp is involved. See how it works! Example Spring beans Let’s say that we’v...
How to exclude classes/packages from Component Scan in Spring Framework? The task is a bit tricky, especially when regexp is involved. See how it works! Example Spring beans Let’s say that we’v...
How to find annotated classes using Spring Framework and read metadata from them? Sometimes you may want to attach metadata to your classes using custom annotations. Here’s an example how you can l...
One of the first control flow statements in many programming languages is switch-case. In Clojure switch-case can be achieved in different ways, what we will show in this article. The case macro...
Problem: How to create “Hello, World” app in Spring Boot? Solution: Gradle build script will all required dependencies: buildscript { repositories { jcenter() maven { url ...
Problem: How to create simple Spring Boot REST service with HATEOAS support? It’s very simple with spring-boot-hateoas project. Solution: Project configuration for Gradle (build.gradle): app...