Java Weekly, Issue 212

Here we go…

1. Spring and Java

===== >> Creating a Kotlin DSL for validation [blog.sourced-bvba.be]

DSLs can be powerful in Kotlin – especially when they leverage reified generics.

>> Monitoring and measuring reactive application with Dropwizard Metrics [nurkiewicz.com]

A couple of interesting examples of monitoring a reactive application using Dropwizard.

>> Building richer hypermedia with Spring HATEOAS [spring.io]

Affordance is another interesting concept that allows squeezing more from Hypermedia by including domain-specific metadata in responses generated by a REST API.

>> No JCP for Java EE [infoq.com]

Looks like Java EE will not utilize the standard Java Community Process.

>> Java EE vs Spring Testing [antoniogoncalves.org]

Integration tests are important in a managed environment; even when they’re slightly more difficult to maintain, they should be as easy to write as possible. That’s not always the case in Java EE where integration tests can sometimes be difficult to set up and quite heavy.

>> Sneak peek at Reactor-Core 3.2 with Milestone 1 [spring.io]

Looks like Reactor-Core 3.2 will finally feature a handy way of defining exception fallbacks.

>> Spring Boot metrics monitoring using Prometheus & Grafana [aboullaite.me]

A minimalistic example of monitoring a Spring Boot application using Prometheus and Grafana. Good stuff.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical and Musings

Microservices aren’t always the optimal way to go – it’s good that the awareness of that simple fact increases.

>> Unit tests vs integration tests, why the opposition? [blog.frankel.ch]

Unit tests and integration tests complement each other – no need to pick exclusively here.

Also worth reading:

3. Comics

And my favorite Dilberts of the week:

>> Boss Gets A Troll [dilbert.com]

4. Pick of the Week

===== >> Let them paste passwords [www.ncsc.gov.uk]

Leave a Reply

Your email address will not be published.