I just announced the new Spring 5 modules in REST With Spring:
At the very beginning of last year, I decided to track my reading habits and share the best stuff here, on Baeldung. Haven’t missed a review since.
Here we go…
1. Spring and Java
A quick, journalistic look at Java 8 Streams performance – something we’re starting to be aware of in the community.
>> Spring Boot Memory Performance [spring.io]
This writeup is going to be referenced for a long time, as this kind of low level information is really missing from the Spring ecosystem.
>> Spring Data JPA Tutorial: Adding Custom Methods Into All Repositories [petrikainulainen.net]
I had to do something similar several times in practice – adding a custom method into a Spring Data repo – so this guide is a welcome reference.
Short and to the point – upgrading to Spring 4 is a solid productivity boost across the board.
>> Hibernate Logging Guide – Use the right config for development and production [thoughts-on-java.org]
A must read if you’re working with Hibernate and aren’t quite sure how your logging should be set up.
>> The danger of @InjectMocks [blog.frankel.ch]
Just because we can do some low level stuff in Java doesn’t mean we should. Mockito made some choices about all of that, and about what you can and cannot do with the tool.
This is a quick dive into the way mocks can be injected at runtime.
A very interesting and pragmatic look at the Java 8 functional story, now that it’s no longer new and shiny.
Also worth reading:
>> Easily Create Java Agents with Byte Buddy [infoq.com]
>> Alert Dialogs Do Not Appear When Using WebDriverBackedSeleniu [symphonious.net]
>> CompletableFuture as a Trampoline for Tail Recursion Elimination [sebastian-millies.blogspot.com]
>> Add a Boost of Caffeine to Your Java [voxxed.com]
>> Running Eclipse Neon on a Custom Java 9 Image [waynebeaton.wordpress.com]
Webinars and presentations:
>> Transforming Code to Java 8 [infoq.com]
Time to upgrade:
>> Spring Framework 5.0 Roadmap Update [spring.io]
>> Spring Social Facebook 2.0.3 Released [spring.io]
>> Spring REST Docs 1.0.1.RELEASE [spring.io]
>> IntelliJ IDEA 15.0.2 is Available [jetbrains.com]
>> Apache Commons Validator 1.5.0 released! [mail-archives.apache.org]
>> JDeps Maven Plugin 0.2 Released [codefx.org]
2. Technical and Musings
>> Clearing Up the Integrated Tests Scam [thecodewhisperer.com]
I listened to the “Integration Tests Are a Scam” and it really opened up way of thinking about the way I did testing back then.
Later on I continued to learned from J.B. live, so I’m excited to see here a thought out analysis on the topic. Good stuff.
Also worth reading:
>> Monads demystified [codecentric.de]
>> About Pool Sizing [github.com]
>> Learn To Code, It’s Harder Than You Think [mikehadlow.com]
And my favorite Dilberts of the week:
>> I have a reflexive urge to disagree with you [dilbert.com]
>> I value substance over style. How’s that working out? [dilbert.com]
>> Someone was raised with to much self-esteem [dilbert.com]
4. Pick of the Week
>> My Favorite Database is the Network [lucumr.pocoo.org]