Parsing Arguments in Commandline Applications with Spring Boot

28.08.2018 by Jens in Spring Boot

In Commandline Applications with Spring Boot we also implemented a command line app using the CommandLineRunner interface provided by Spring. However, argument/options/parameter handling is not that good with it. Luckily, there is an even better method of writing a command line app with Spring Boot and also have good options parsing with the ApplicationRunner interface.


The Difference Between @Bean and @Component and When to Use What?

27.08.2018 by Jens in Spring Boot

A question that almost always comes up in my training. So, it is time to answer it for anyone and not only in-class.


Getting Started with Feign Client in Spring

22.08.2018 by Jens in Spring Boot

In this tutorial, we will make our first remote call using the FeignClient lib in Spring Boot. We will use the Spring Cloud integration instead of manually creating the client.


How to implement custom parameter mapping in Spring MVC

06.08.2018 by codeboje in Spring MVC | Spring Boot

In this tutorial, we will discuss HandlerMethodArgumentResolver which is being used to resolve the arguments of the public MVC methods (handler methods). To understand this feature in depth, we will look at different out of the box method argument resolvers and how we can a write custom argument resolver. We will take an example of resolving the hostname (domain) of the server.


Basic Properties Handling in Spring Boot

14.03.2018 by Jens in Spring Boot | Newsletter

I covered properties handling in Spring Boot a while ago in my Learnletter. This page summarize all emails to make it easier for you to dive into the topic.


Receiving a Paddle WebHook in Spring Boot

02.03.2018 by Jens in Spring Boot | Spring MVC | Newsletter

In this short tutorial, we’ll cover how to receive a webhook from Paddle in Spring Boot properly.


Making Requests using Spring's RestTemplate

09.02.2018 by Jens in Newsletter | Spring Boot | Spring MVC

The RestTemplate is a little helper class that makes calling web requests an easier. Instead of wrangling with protocols and transformation by ourselves, we get that out of the box by Spring MVC.


Commandline Applications with Spring Boot

08.02.2018 by Jens in Newsletter | Spring Boot

Spring Boot is not only for server applications. Did you know you can write command line apps too?


Getting Started with Spring Session

27.09.2017 by Jens in Spring Boot

In this tutorial, we are going to look at Spring Session and build two applications which share the session in Redis.


The Guide to Caching in Your Spring Boot Application

20.09.2017 by Jens in Spring Boot

One of the features of the Spring Framework is a cache you can transparently add to your code. All you need to do is set an annotation on a method you want to cache and configure the caching mechanism itself. Setting up the cache wasn’t a big deal before, and with Spring Boot it got even simpler. Let’s dive into it with an example.