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

>> Artfully Benchmarking Java 8 Streams and Lambdas [infoq.com]

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.

>> 5 reasons why you should consider upgrading your applications to Spring 4 [codeleak.pl]

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.

>> 3 Reasons why You Shouldn’t Replace Your for-loops by Stream.forEach() [jooq.org]

A very interesting and pragmatic look at the Java 8 functional story, now that it's no longer new and shiny.

Also worth reading:

Webinars and presentations:

Time to upgrade:

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:

3. Comics

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]


» 下一篇: Java Web Weekly 51