Java Weekly, Issue 249

Here we go…

1. Spring and Java

A nice write-up about type inference for local variables, a shiny new feature that aims to reduce boilerplate code.

>> The Reactive Revolution at SpringOne Platform 2018 (part 1/N) [spring.io]

A great new series begins with two cool topics — reactive SQL data access and the RSocket protocol. And a couple of solid write-ups on R2DBC and RSocket over on InfoQ.

>> Structured JUnit 5 testing [blog.codecentric.de]

A clever way to organize BDD-style tests for a class uses the @Nested annotation with inner classes to group tests that have common preconditions, and abstract superclasses for tests that exercise the same behaviors across setups. Very cool.

>> What’s new in Spring Data Lovelace? [spring.io]

The latest Spring Data release train is now GA, and it includes some powerful new features. And find out what the update means for Redis and Apache Cassandra, as well as for MongoDB.

>> Kotlin and MongoDB, a Perfect Match [blog.philipphauer.de]

A solid article presents a strong case for why Kotlin’s inherent language features make it better-suited than Java for working with MongoDB’s dynamic schemas.

>> 10 Maven Security Best Practices [snyk.io]

When it comes to protecting sensitive information in a codebase, build tool configuration is easy for novices to overlook. Be sure to check out this security cheat sheet for Maven projects.

>> Kotlin Collections API Performance Antipatterns [4comprehension.com]

It’s good to remember that Kotlin’s collections are not lazy just like Java Stream API is.

Webinars and presentations:

Time to upgrade:

2. Technical

A thoughtful piece on applying Domain-Driven Design modeling techniques in reactive, distributed systems.

3. Musings

A deep dive into how lessons learned with Zuul led to several improvements, including a reduction in errors caused by overloaded servers.

>> Narrow Niche: When is Narrow Too Narrow? [daedtech.com]

If you’re thinking about starting a blog, it pays to start off wide and narrow your focus iteratively.

Also worth reading:

4. Comics

And my favorite Dilberts of the week:

>> Why So Negative? [dilbert.com]

5. Pick of the Week

Leave a Reply

Your email address will not be published.