Java Weekly, Issue 194

Lots of interesting writeups on Java 9 this week.

Here we go…

1. Spring and Java

Java 9 will be out in a week – this is the right time to get to know the JPMS better.

>> Flavors of Spring application context configuration [blog.frankel.ch]

There multiple ways of configuring a Spring context – some can (maybe even should) involve Groovy and Kotlin.

>> JUnit 5 Tutorial: Writing Our First Test Class [petrikainulainen.net]

JUnit 5 has just been released – time to start putting it to work.

>> Fixed-rate vs. fixed-delay – RxJava FAQ [nurkiewicz.com]

A very interesting write-up about simulating scheduleAtFixedRate and scheduleWithFixedDelay with RxJava.

>> Code Smells: If Statements [blog.jetbrains.com]

Using an if statement can be both good practice – as well as a code smell – it’s important to know when to use it.

>> Lombok – You Should Definitely Give It A Try [blog.codeleak.pl]

Lombok is a great tool that can bring some fresh breath to Java and make some boilerplate go away.

>> Idiomatic concurrency: flatMap() vs. parallel() – RxJava FAQ [nurkiewicz.com]

It’s important to know the semantics of tools we’re using – otherwise, for example, we might end up with unintentional sequential processing where parallel was expected.

2. Technical

===== >> NoSQL Options for Java Developers [developer.okta.com]

A comprehensive guide to NoSQL from the non-technical viewpoint ?

>> Traefik – The modern reverse proxy [blog.codecentric.de]

A cool proxy solution I didn’t know about until this writeup.

Also worth reading:

3. Musings

Microservices are not silver bullets – they should be used when you need them and not because you want them.

Also worth reading:

4. Comics

And some cool Dilberts of the week:

>> A New Employee [dilbert.com]
>> All Robots Quit [dilbert.com]

5. Pick of the Week

Leave a Reply

Your email address will not be published.