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

最后修改: 2016年 4月 15日


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


>> How to Replace Rules in JUnit 5 []

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

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.


>> Hibernate 5: How to persist LocalDateTime & Co with Hibernate []

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

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


>> JUnit 5 – Extension Model []

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.


Also worth reading:


Webinars and presentations:


Time to upgrade:


2. Technical


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

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

Yeah. Good talk.


Also worth reading:


3. Musings


>> Are Your Arguments Falsifiable? []

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

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


Also worth reading:


4. Comics


And my favorite Dilberts of the week:


>> Why does your agreeing sound like mocking? []

>> And it’s free? []

>> Pictures of people who were attacked by bears []

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?


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