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.
Usage of HTTP Request Builds allows us to avoid repetitions when writing our Spring MVC tests.
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.
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.
A practical and comprehensive guide to association mappings with Hibernate.
It turns out that Hibernate can also be used for accessing database metadata.
Also worth reading:
Webinars and presentations:
Time to upgrade:
2. Technical
It turns out that Lucene’s SimpleQueryParser is now exposed in the higher level Hibernate DSL – very cool.
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:
3. Musings
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.
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 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:
4. Comics
And my favorite Dilberts of the week:
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:
res – REST with Spring (eBook) (everywhere)