The Baeldung Weekly Review 34

I just announced the new Learn Spring course, focused on the fundamentals of Spring 5 and Spring Boot 2:

At the very beginning of 2014 I decided to start better documenting my reading habits and sharing them here with all of you.

The point is two fold – by curating and documenting, my reading has become more purposeful and diverse. Also – I believe that curation of good content brings a lot of value, helps people explore and allows the best stuff to raise to the top.

An advanced but very useful usecase – injecting a custom object into your Controller layer methods. I’ve been doing this whenever I find that I regularly need to access something and it’s quite convenient.

This quick exercise is a cool Fizz Buzz test – an URL shortener in various languages. This one is done with Java, Spring Boot and Redis; there’s a cool Clojure example linked from there as well – check that out if you’re into Clojure.

REST API documentation (there’s a contradiction in terms for you) – is a topic that’s near and dear to me, so I’ve been doing some reading on the topic. Here’s a way to do it via Spring Boot – no longer with a third party tool like I talked about in previous weekly reviews.

2. Technical

Microservices are all the rage right now – everybody and their mother are jumping on and implementing a microservice. Sometimes that’s a good way to go and – like everything else – sometimes it’s not. A couple of weeks ago I linked to this really good and honest review of a team that has failed doing microservices – and learned a bunch of things along the way.

So – if you’re planning to use this pattern in your next project, or perhaps you’re in the middle of implementation right now (like I am) – do yourself a favor and read these pieces from people that have actually done this and learned from the experience.

I thought this series was mostly wrapped up – it isn’t (I’m still catching up):

3. Musings

Another one from Erik about leaving a high paying job. The passive income track is definitely something that will hit home with a lot of people and it’s the part that I found the most interesting bit of the article.