Home
Farenda
Cancel

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...

Spring find annotated classes

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...

Clojure switch-case

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...

Spring Boot "Hello, World"

Problem: How to create “Hello, World” app in Spring Boot? Solution: Gradle build script will all required dependencies: buildscript { repositories { jcenter() maven { url ...

Spring Boot REST HATEOAS

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...