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.
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.
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.
Sitting all day in front of a screen, iterating over thinking, typing out code and debugging it, is tough. This alone will exhaust you sooner than later. Now add those meetings and even office politics and you will be brain dead at the end of a working day.
Sick of deadlines? Sick of project managers, boss, customers or whatever? Coding was once a dream of yours and now it drags you down. Each time you even think about it? Dreading Mondays? Thinking, why am I doing this shit?
Somehow complexity attracts devs like light attracts moths. They can’t resist, we can’t resist.
I was giving a Spring Boot training last week and during the course, I made some observations, which I like to share with you over this week.
Plans never work out.
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.
Let’s take the neverending discussion of testing vs no testing.