Java Web Weekly 50 – Java网络周刊50

最后修改: 2015年 12月 11日


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 []

A quick, journalistic look at Java 8 Streams performance – something we’re starting to be aware of in the community.

一个快速的、新闻性的对Java 8 Streams性能的展望–我们在社区中开始注意到这个问题。

>> Spring Boot Memory Performance []

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 []

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.

我在实践中不得不多次做类似的事情–在Spring Data repo中添加一个自定义方法–所以这个指南是一个受欢迎的参考。

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

Short and to the point – upgrading to Spring 4 is a solid productivity boost across the board.

简言之–升级到Spring 4是一个坚实的生产力提升全面的。

>> Hibernate Logging Guide – Use the right config for development and production []

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 []

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() []

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

一个非常有趣和务实的对Java 8功能故事的展望,现在它不再是新的和闪亮的。

Also worth reading:


Webinars and presentations:


Time to upgrade:


2. Technical and Musings


>> Clearing Up the Integrated Tests Scam []

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 []

>> I value substance over style. How’s that working out? []

>> Someone was raised with to much self-esteem []


4. Pick of the Week


>> My Favorite Database is the Network []