Java Web Weekly, Issue 120 – Java网络周刊》第120期

最后修改: 2016年 4月 15日

中文/混合/英文(键盘快捷键: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

>> How to Replace Rules in JUnit 5 [codeaffine.com]

I find deep-dives into the upcoming JUnit 5 very interesting.

我发现对即将到来的JUnit 5的深入研究非常有趣。

But, if you’re using rules in JUnit 4 and know they’re going away in version 5 – you’ll find this one particularly useful.

但是,如果你在JUnit 4中使用规则,并且知道它们将在第5版中消失–你会发现这个特别有用。

>> Overriding Dependency Versions with Spring Boot [spring.io]

Gone are the days where you have to painstakingly lay out each Spring dependency and versions manually. There are now – and have been for a while – much easier ways to get your dependency tree in working order.

你必须费尽心机地手动布置每个Spring依赖关系和版本的日子已经过去了。现在–而且已经有一段时间了–有更简单的方法来让你的依赖树处于工作状态

>> Hibernate 5: How to persist LocalDateTime & Co with Hibernate [thoughts-on-java.org]

I remember struggling with this a few years back – I’m glad Hibernate finally supports the new Date classes well.

我记得几年前还在为这个问题挣扎 – 我很高兴Hibernate最终很好地支持新的Date类

>> Would We Still Criticise Checked Exceptions, If Java had a Better try-catch Syntax? [jooq.org]

As always, interesting ruminations on improving the Java syntax – this time with better try-catch syntax.

一如既往,关于改进Java语法的有趣遐想–这次是更好的try-catch语法。

>> JUnit 5 – Extension Model [codefx.org]

Working with JUnit 5 is going to be fun, and extending it is going to be even more so.

使用JUnit 5的工作会很有趣,而对它的扩展会更有趣。

Libraries (and IDEs) won’t have to hack around the API any more – which is bound to lead to some good things coming on top of the new JUnit.

库(和IDE)将不必再围绕API进行黑客攻击–这必将导致在新的JUnit之上出现一些好东西。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> How to run database integration tests 20 times faster [vladmihalcea.com]

I haven’t seen a ram disk in a while 🙂

我已经很久没有看到拉姆盘了 🙂

This writeup is practical and chock full of solid advice if you want to speed up your builds and don’t mind getting your hands a bit dirty with some low level tools.

如果你想加快你的构建速度,并且不介意用一些低级工具弄脏你的手,那么这篇报道是实用的,并且充满了可靠的建议。

>> Eric Evans — Tackling Complexity in the Heart of Software [dddeurope.com]

Yeah. Good talk.

是的。说得好。

Also worth reading:

也值得一读。

3. Musings

3.思索

>> Are Your Arguments Falsifiable? [daedtech.com]

A fun read in general, but particularly if you regularly put your work out there and get feedback on it.

一般来说,这是一本有趣的书,但特别是如果你经常把你的工作放在那里并得到反馈的话。

>> How I’ve Avoided Burnout During More Than 3 Decades As A Programmer [thecodist.com]

Interesting advice from someone who’s been doing this stick for a whole lot longer then most of us.

一个比我们大多数人做这根棍子更久的人提出了有趣的建议。

Also worth reading:

也值得一读。

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Why does your agreeing sound like mocking? [dilbert.com]

>> And it’s free? [dilbert.com]

>> Pictures of people who were attacked by bears [dilbert.com]

5. Pick of the Week

5 本周精选

Instead of picking something, this week I’m going to ask you a question:

这周我不挑选东西,而是要问你一个问题。

Do you like the new Baeldung design?

你喜欢新的Baeldung设计吗?

Let me know in the comments – and have a great weekend.

请在评论中告诉我–并祝您周末愉快。