Java Web Weekly 50 – Java网络周刊50

最后修改: 2015年 12月 11日

中文/混合/英文(键盘快捷键:t)

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.

去年年初,我决定跟踪我的阅读习惯,并在这里分享最好的东西,在Baeldung上。从那时起,我没有错过任何一篇评论。

Here we go…

我们来了……

1. Spring and Java

1.Spring和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.

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

>> 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生态系统中所缺少的。

>> 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.

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

>> 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.

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

>> 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.

如果你正在使用Hibernate,并且不太确定你的日志应该如何设置,那么必须阅读。

>> 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.

仅仅因为我们可以在Java中做一些低级别的事情,并不意味着我们应该这样做。Mockito对所有这些做了一些选择,也对你能和不能用这个工具做什么做了选择。

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.

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

Also worth reading:

也值得一读。

Webinars and presentations:

网络研讨会和演讲。

Time to upgrade:

是时候升级了。

2. Technical and Musings

2.技术与思考

>> 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.

后来我继续从J.B.活学活用,所以我很高兴看到这里对这个话题的思考分析。好东西。

Also worth reading:

也值得一读。

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

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

4.本周精选

>> My Favorite Database is the Network [lucumr.pocoo.org]