Monitor and troubleshoot Java applications and services with Datadog:
Lots of interesting writeups on Java 9 this week.
Here we go…
1. Spring and Java
Java 9 is scheduled to be released 3 months from now but Jigsaw is still one big controversy.
What’s interesting is that the organizations voting “no” do have an interest in OSGi.
>> Spring From the Trenches: Cleaning Up Our Test Code With HTTP Request Builders [petrikainulainen.net]
Usage of HTTP Request Builds allows us to avoid repetitions when writing our Spring MVC tests.
>> Java Service Loader vs Spring Factories Loader [frankel.ch]
We don’t need additional libraries to benefit from IoC in Java – we can simply use the ServiceLoader class. It can also be easily integrated with Spring.
>> Bean Validation 2.0 is up for Public Review [beanvalidation.org]
The new Bean Validation JSR is available for review, so if you want to have an impact, here’s your chance.
Java 9 should be released soon, so it’s high time to get familiar with the new tools.
>> Ultimate Guide – Association Mappings with JPA and Hibernate [thoughts-on-java.org]
A practical and comprehensive guide to association mappings with Hibernate.
>> How to get access to database table metadata with Hibernate 5 [vladmihalcea.com]
It turns out that Hibernate can also be used for accessing database metadata.
Also worth reading:
>> Java Collection Views [vavr.io]
>> Lessons in Abstraction: What FP Can Teach OOP [sitepoint.com]
>> Spring Data and Clean Architecture [insaneprogramming.be]
>> Spock testing framework versus JUnit [codepipes.com]
>> Bootiful Development with Spring Boot and Angular [developer.okta.com]
>> Java EE 8 – April recap [blogs.oracle.com]
Webinars and presentations:
>> High Performance Managed Languages [infoq.com]
>> Performance Testing in Java [infoq.com]
>> Scala Days 2017 – Jepsen Keynote [aphyr.com]
Time to upgrade:
>> Spring Session 1.3.1 Released [spring.io]
>> IntelliJ IDEA 2017.1.3 EAP is Open [jetbrains.com]
>> Spring IO Platform Brussels-SR2 [spring.io]
>> Spring IO Platform Athens-SR5 [spring.io]
>> Mockito 2.8.24 is out [github.com]
>> Simple Query String, what about it? [in.relation.to]
It turns out that Lucene’s SimpleQueryParser is now exposed in the higher level Hibernate DSL – very cool.
>> Code Rot [henrikwarne.com]
Code degradation with time is a natural and common problem. It’s important to identify and fix such cases early in order to avoid further codebase contamination and decay.
>> Let your test automation talk to you [ontestautomation.com]
Clean code principles are universal – test automation is not an exception 🙂
Also worth reading:
>> Understanding When to use RabbitMQ or Apache Kafka [content.pivotal.io]
>> Product Routes (AKA „Roadmaps”) [codecentric.de]
>> An output of a truly random process [horicky.blogspot.com]
>> Developer Hegemony: The Crazy Idea that Software Developers Should Run Software Development [daedtech.com]
The “Developer Hegemony” – the book that’s also the “pick” for this week.
I’ve just started reading it and it’s one of the few non-audio books that I know I’m going to eventually finish.
>> Software Craftsmanship is Good Business [daedtech.com]
The law of Diminishing Returns applies to raw development skills as well. At some point, it makes more sense to focus more on good practices which will bring more profit to your clients than your ability to write complex assembly code.
>> Being a Polyglot Programmer [infoq.com]
Being a polyglot programmer is not about mastering multiple tools but about applying a renaissance-like approach for broadening your horizons – which eventually results in leveling up your craft.
Also worth reading:
>> Interview Dirk Rombauts [code-cop.org]
>> Is it still worth getting a BSc or MSc in IT? [insaneprogramming.be]
>> What’s Next: Epilogue of a Book Launch [daedtech.com]
- >> Faster, higher, stronger: How the digitalization of industry is redefining value creation [allthingsdistributed.com]
And my favorite Dilberts of the week:
>> Give it to me straight [dilbert.com]
>> Half of the sales job [dilbert.com]
>> Can I offer you a glass of water? [dilbert.com]
5. Pick of the Week
Erik’s book is finally out this week. If you’re at all interested in our industry, how it runs and how it’s going to run over the next decade – don’t miss this one: