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

最后修改: 2017年 3月 9日

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

Lots of interesting writeups on Spring stuff going on this week.

本周有很多关于春天的有趣报道。

Let’s jump right in…

让我们直接跳入…

1. Spring and Java

1.Spring和Java</strong

>> Spring Boot – Configure Log Level in Runtime Using Actuator Endpoint [codeleak.pl]

Starting with Spring Boot 1.5, we can configure log levels at runtime by performing simple POST requests.

从Spring Boot 1.5开始,我们可以通过执行简单的POST请求在运行时配置日志级别。

>> 7 Tips and Tricks We Learned From the Java Community [takipi.com]

Community is a great source of knowledge ?

社区是知识的巨大来源 ?

>> A use-case for Spring component scan [frankel.ch]

A quick refresher of how @ComponentScan works followed by a practical example.

快速复习一下@ComponentScan的工作原理,然后是一个实际例子。

>> Deep Dive into Java 9’s Stack-Walking API [sitepoint.com]

Java 9 includes a brand new Stack-Walking API that provides an access to the execution stack. Hopefully, we’ll no longer need to hack our way through frames.

Java 9包括一个全新的Stack-Walking API,提供了对执行栈的访问。希望我们不再需要用黑客的方式来访问框架。

>> Public Review of JSON-P Specification 1.1 is Now Open [infoq.com]

Very cool – the JSON-P JSR-374 1.1 spec is now public.

非常酷 – JSON-P JSR-374 1.1规格现在已经公开。

>> Getting Started with Thymeleaf 3 Text Templates [codeleak.pl]

And a quick-start guide to templating with Thymeleaf 3.

还有一份关于使用Thymeleaf 3进行模板制作的快速入门指南。

>> The best way to soft delete with Hibernate [vladmihalcea.com]

With a little bit of effort, soft deletes are achievable with Hibernate.

只要稍加努力,用Hibernate就可以实现软删除。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Writing Integration Tests with Docker Compose and JUnit [codecentric.de]

A quick and practical guide to wiring Docker containers up for integration testing.

一个快速实用的指南,将Docker容器连接起来进行集成测试

>> Be aware that bcrypt has a maximum password length [mscharhag.com]

It’s good to remember that bcrypt has its limitations.

记住bcrypt有其局限性是件好事。

>> Continuous Delivery With Kubernetes, Docker, and CircleCI [alexecollins.com]

A presentation of a CD setup with Kubernetes, Docker, and CircleCI. Definitely a useful setup.

介绍了一个使用Kubernetes、Docker和CircleCI的CD设置。绝对是一个有用的设置。

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> The Whiteboard Interview: Adulthood Deferred [daedtech.com]

Recent “whiteboard interviews” topic has sparked a lot of discussion about the efficiency of contemporary tech interviews.

最近的 “白板面试 “话题引发了很多关于当代技术面试效率的讨论。

>> On false negatives and false positives [ontestautomation.com]

A short write-up recalling the importance of fast identification of false negatives and false positives.

一篇短文回顾了快速识别假阴性和假阳性的重要性。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> I think I’ll go add value somewhere else [dilbert.com]

>> Self-deprecating joke to underscore my true power [dilbert.com]

>> Big fan of low self-esteem [dilbert.com]

5. Pick of the Week

5。本周精选</strong

>> Why we choose profit [m.signalvnoise.com]