Monitor and troubleshoot Java applications and services with Datadog:
Here we go…
1. Spring and Java
>> The Java in 2017 Survey [docs.google.com]
I’m running my yearly Java “State of the Union” survey for 2017. Please take a few seconds to vote.
>> Memory Puzzle with Lambdas [javaspecialists.eu]
A very interesting Java 8 memory puzzle, with quite surprising results 🙂
>> Common code in Spring MVC, where to put it? [frankel.ch]
It’s not that easy to find a suitable place for common code in Spring MVC apps. This write-up shows a few possible places where you could do this.
Java 9’s Project Jigsaw finally makes it possible to define module dependencies to be present at compile time and not at runtime.
>> CRUD operations on Spring REST resources with Kotlin [codecentric.de]
This is how you can create and consume a simple REST API using Kotlin and Spring.
>> Use Spring Cloud Config as externalized configuration [pragmaticintegrator.wordpress.com]
Externalizing your configuration allows you to build artifacts once and easily swap configurations during runtime or for different environments. It turns out that Git works great as a configuration holder for such scenarios.
>> Test Doubles – Fakes, Mocks and Stubs. [pragmatists.pl]
Stubs are often mistaken as Mocks, and Fakes are often mistaken as Fakes 🙂
The article clarifies which is which.
>> Idiomatic Kotlin Best Practices [blog.philiphauer.de]
Kotlin is becoming more and more popular and it’s important to revisit our Java coding habits and learn the right way of doing stuff in Kotlin.
Also worth reading:
>> How to Effectively Sweep Problems Under the Rug in Java [marxsoftware.blogspot.com]
>> Hystrix Command – Java 8 helpers [java-allandsundry.com]
>> Spring Boot’s new Gradle plugin [spring.io]
>> New foray into serverless – announcing library shift [in.relation.to]
>> Optional Method Parameters [tidyjava.com]
>> Java 8 EE March Recap [blog.oracle.com]
Webinars and presentations:
>> Java’s Binary Search API in Five Minutes [sitepoint.com]
Time to upgrade:
>> IntelliJ IDEA 2017.1.1 EAP is Available [jetbrains.com]
>> Spring Tool Suite 3.8.4 released [spring.io]
>> GlassFish 4.1.2 Released [oracle.com]
>> Bean Validation 2.0 Alpha2 is out [beanvalidation.org]
>> Spring AMQP 2.0.0 Milestone 3 is Available [spring.io]
>> Kafka Streams for Stream processing [balamaci.ro]
Quick and practical insights into how Kafka works.
>> The ultimate software QA process [mehdi-khalili.com]
Shocking no one, having a QA in your team is definitely a good idea.
Also worth reading:
>> When debugging doesn’t suck: beautiful errors [odino.org]
>> Amazon CloudWatch launches Alarms on Dashboards [aws.amazon.com]
>> Scaling your API with Rate Limiters [stripe.com]
>> How to start a peer group [mdswanson.com]
If you don’t know how to start a peer group, here is a simple list of steps to follow. You don’t need this often, but when you do, it’s super handy.
>> QA in Production [martinfowler.com]
Production is always a source of unexpected problems that can be a great feedback for improving your systems.
Static Analysis and Continuous Testing are two different techniques applied to different areas. Static Analysis will be useful no matter how good your test coverage is, as it will point out potential problems before even running a single test.
Also worth reading:
>> Back-to-Basics Weekend Reading: An Implementation of a Log-Structured File System [allthingsdistributed.com]
>> The Many-Worlds Interpretation of Developer Interviews [mattblodgett.com]
>> Pipeline Conf 2017 [giorgiosironi.com]
>> Spring Team and Pivotal at OSCON Austin 2017 [spring.io]
>> Välkommen till Stockholm – An AWS Region is coming to the Nordics [allthingsdistributed.com]
>> Hibernate Tips Book – Release and Special Launch Price [thoughts-on-java.org]
And my favorite Dilberts of the week:
>> Ten thousand hours [dilbert.com]
>> I don’t know what this is, but I want in [dilbert.com]
>> This isn’t what I wanted [dilbert.com]
5. Pick of the Week
I’ve been following the work on this book for a few months now. It’s finally out:
If you’re doing any kind of Hibernate work, this is definitely one to get.