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

最后修改: 2016年 2月 26日

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

>> Spring Boot with Scala [java-allandsundry.com]

This is very cool if you’re into Scala.

如果你对Scala感兴趣,这就非常酷了。

I’m personally moving towards Clojure instead of Scala, but this still looks quite interesting to me.

我个人正在转向Clojure而不是Scala,但这对我来说仍然相当有趣

>> Log management in Spring Boot [frankel.ch]

How to configure logging in Spring Boot (without having to go the native XML route) – very quick and to the point (much like Boot).

如何在Spring Boot中配置日志记录(无需走原生XML路线)–非常快速,直奔主题(很像Boot)。

>> JUnit 5 – Basics [codefx.org]

Thought last weeks JUnit 5 post was all there was? Think again 🙂

以为上周的JUnit 5帖子就是全部内容了?再想想吧 🙂

I’m super excited about finally seeing some actual progress in the JUnit space, so this series should be fun to read and follow along with.

我对终于看到JUnit领域的一些实际进展感到超级兴奋,所以这个系列的阅读和跟踪应该很有趣。

>> (Ab)using Java 8 FunctionalInterfaces as Local Methods [jooq.org]

As always, a very nice exploration of a lambdas in Java 8.

一如既往,这是对Java 8中的lambdas的一次非常好的探索。

And I can no longer call lambdas “new”, they’re now just an arrow in the quiver.

而且我不能再把lambdas称为 “新”,它们现在只是箭筒中的一支箭。

>> Java EE 8 MVC: Working with form parameters [mscharhag.com]

A quick writeup that continues to explore the mapping of parameters to Controllers in Java EE 8. Very quick and to the point.

这是一篇快速的文章,继续探讨Java EE 8中参数与控制器的映射。非常快,直奔主题。

>> JetBrains Releases Kotlin 1.0 [infoq.com]

Kotlin isn’t something I’ve done any actual work with myself. But it is the official 1.0 release of what looks to be a language with some interesting syntax choices – which doesn’t happen all that often.

Kotlin并不是我自己做的任何实际工作。但它是一个看起来有一些有趣的语法选择的语言的1.0官方版本–这并不经常发生。

Also worth reading:

也值得一读。

Webinars and presentations:

网络研讨会和演讲。

Time to upgrade:

是时候升级了。

2. Technical

2.技术

>> Automate Deployment & Management of Docker Cloud/Virtual Java Microservices with DCHQ [infoq.com]

Docker containers, continuous delivery of microservices and Event Sourcing.

Docker容器、微服务的持续交付和Event Sourcing。

Yep, every word of that sentence is an overused buzzword, yet the article solid and detailed, so worth a careful read if you’re doing work in this area.

是的,这句话的每一个字都是被过度使用的流行语,然而这篇文章坚实而详细,如果你在这个领域做工作,值得仔细阅读。

>> Bind Parameters for Database Queries [martinfowler.com]

This weeks installment of the “Web Security Basics” series – getting into some foundation aspects of input sanitization.

本周的 “网络安全基础知识 “系列的一部分–进入输入消毒的一些基础方面。

And of course, SQL injection is not the only game in town.

当然,SQL注入并不是镇上唯一的游戏。

>> Default HotSpot Maximum Direct Memory Size [marxsoftware.com]

Getting into some of the low level JVM details of direct memory access and sizing.

进入一些低级别的JVM细节的直接内存访问和大小。

Also worth reading:

也值得一读。

3. Musings

3.思索

>> Why do you write accessor methods? [codecentric.de]

An “back to basics” style exploration of a core object oriented concept – accessor methods.

对面向对象核心概念的 “返璞归真 “式探索–访问器方法

>> Splunk vs ELK: The Log Management Tools Decision Making Guide [takipi.com]

A solid guide to picking a log management tool and getting the most out of it.

挑选日志管理工具并从中获得最大利益的可靠指南。

>> Escaping the Legacy Skill Quicksand [daedtech.com]

Common sense advice about stepping up your tech skill game.

关于加强你的技术技能游戏的常识性建议。

>> Controlling vehicle features of Nissan LEAFs across the globe via vulnerable APIs [troyhunt.com]

Hacking a connected car – this is scary stuff.

黑掉一辆联网汽车–这是可怕的事情。

Also worth reading:

也值得一读。

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> You probably shouldn’t put your suggestions in form of questions [dilbert.com]

>> He’ll be under-communicating all day [dilbert.com]

>> It sounds better when you don’t do the math [dilbert.com]

 

5. Pick of the Week

5 本周精选

I recently discovered I writer that I’m thoroughly enjoying:

我最近发现了我这个作家,我非常喜欢。

>> The Gervais Principle, Or The Office According to “The Office” [ribbonfarm.com]