Java Weekly, Issue 209 – Java周刊》第209期

最后修改: 2017年 12月 27日

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> JUnit 5 Tutorial: Writing Parameterized Tests [petrikainulainen.net]

Finally, no need to use external tools for writing parameterized tests in JUnit.

最后,不需要使用外部工具来在JUnit中编写参数化测试

>> How to map JSON collections using JPA and Hibernate [vladmihalcea.com]

The open-source hibernate-types project makes it possible to map JSON collections.

开源的hibernate-types项目使得映射JSON集合成为可能。

>> Managing randomness in Java [blog.frankel.ch]

There’re various ways of generating random values in Java – it’s crucial to know their pros and cons.

在Java中生成随机值的方法有很多种–了解它们的优点和缺点至关重要。

Also worth reading:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术和思考

>> I Learned Some sed [blog.thecodewhisperer.com]

It’s always good to recall some basics.

回顾一些基本知识总是好的。

>> Do not GRANT ALL PRIVILEGES to your Production Users [blog.jooq.org]

… and not to grant users more privileges than necessary.

……并且不授予用户超过必要的权限。

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Winning Design Awards [dilbert.com]

>> Homeland Security Risk [dilbert.com]

>> Product Too Addictive [dilbert.com]

4. Pick of the Week

4.本周精选

>> The Beginner’s Guide to Deliberate Practice [jamesclear.com]