I just announced the new Spring Boot 2 material, coming in REST With Spring:

>> CHECK OUT THE COURSE

Here we go…

1. Spring and Java

>> Bootiful GCP: Supporting Observability with Spring Cloud GCP Stackdriver Trace (6/8) [spring.io]

>> Bootiful GCP: Use Spring Cloud GCP to Connect to Other GCP Services (7/8) [spring.io]

A brief look at distributed tracing using Spring Cloud Sleuth, and a quick example of how to consume another GCP service using either its direct Java SDK or its REST API. Very cool.

>> Stackwalking in Java with StackWalker and Stream API [4comprehension.com]

A good introduction to the JEP-259 Stack-Walking API that lets you lazily traverse stack traces using the Stream API.

>> What’s New in JUnit 5.3 [medium.com]

An overview of the latest features in JUnit 5, including parallel test execution, and finally, native support for the maven surefire and failsafe plugins.

>> Thread pool self-induced deadlocks [nurkiewicz.com]

A solid write-up about deadlocks in general, plus a scenario showing how the incorrect use of a thread pool can easily lead to deadlock.

>> Property-based Testing in Java: Stateful Testing [blog.johanneslink.net]

And, a clever approach to testing application state, in which you model expected behaviors as a finite state machine and then check whether invariants and postconditions hold. Good stuff.

Also worth reading:

Time to upgrade:

2. Technical and Musings

>> On supporting Continuous Testing with FITR test automation (republished) [ontestautomation.com]

If you want your automated tests to be a valuable part of your CI/CD strategy, first make sure that they are focused, informative, trustworthy, and repeatable — the four pillars of continuous testing.

>> Keystone Real-time Stream Processing Platform [medium.com]

A high-level overview of the architecture and design principles of Netflix’s Keystone platform, along with some of the challenges faced in implementing a data pipeline and SPaaS at large scale.

>> Build Once, Run Anywhere: Externalize Your Configuration [reflectoring.io]

A good write-up touting the merits of decoupling configuration parameters from deployed artifacts.

Also worth reading:

3. Comics

And my favorite Dilberts of the week:

>> Can’t Squeeze Blood from a Turnip [dilbert.com]

>> Thank You for Your Candor [dilbert.com]

>> Big Brother is Watching [dilbert.com]

4. Pick of the Week

>> Real Work vs. Imaginary Work [m.signalvnoise.com]

« Previous
Java Weekly, Issue 245

I just announced the new Spring Boot 2 material, coming modules in REST With Spring:

>> CHECK OUT THE LESSONS

Leave a Reply

avatar