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

最后修改: 2016年 7月 7日

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</strong

>> Implementing HAL hypermedia REST API using Spring HATEOAS [opencredo.com]

I’ve been talking about HATEOAS for such a long time now and consistently see clients get value out of it for not a lot of effort. And so of course this write get the first spot here in the review.

我谈论HATEOAS已经有很长一段时间了,并且一直看到客户以不多的努力从它那里获得价值。因此,当然,这篇文章在这里的评论中占据了第一个位置。

A solid, practical article detailing quite a bit of what you have to know when implementing a Hypermedia API with Spring.

一篇扎实、实用的文章,详细介绍了用Spring实现超媒体API时必须知道的相当多的内容

>> How I Caused Confusion about Spring Boot [codecentric.de]

A quick writeup going beyond simple usecase and discussing some good practices of how configuration should be handled with Spring Boot.

一篇快速的文章,超越了简单的usecase,讨论了一些关于如何用Spring Boot处理配置的良好实践

>> How Functional Programming will (Finally) do Away With the GoF Patterns [jooq.org]

There’s a quote I can’t place right now – that goes something like this: Design Patterns are missing language features.

有一句话我现在不知道怎么说–这句话是这样的。设计模式是缺少语言功能的

Java 8 gave us a much more powerful language, which of course changed the landscape when it comes to needing patterns. So I fully expect to keep seeing these style of writeup as Java 8 gets adopted and understood more and more.

Java 8给了我们一个更强大的语言,当然也改变了需要模式的格局。因此,我完全期望随着Java 8被采用和被越来越多的人理解,会不断看到这些风格的写法。

>> Tabs vs Spaces: How They Write Java at Google, Twitter, Mozilla and Pied Piper [takipi.com]

Yeah, you read that right – tabs vs spaces! Back to trolling basics ? – it made me reconsider my life choices.

是的,你没看错–tabs vs spaces!回到曳步舞的基础上 ? – 它使我重新考虑我的生活选择。

Joking aside, it’s a fun read.

玩笑归玩笑,这是一本有趣的书。

>> Spring Sweets: Using Groovy Configuration As PropertySource [jdriven.com]

Some interesting Groovy alternative configuration for handling properties in Spring.

一些有趣的Groovy替代配置用于处理Spring中的属性

>> Java 9 on the Brink of a Delivery Date and Scope Review [infoq.com]

Looks like we’re close to getting the real release date for Java 9.

看起来我们接近于得到Java 9的真正发布日期。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Goldilocks Microservices [vanilla-java.github.io]

Sizing your microservices right and keeping the overall architecture flexible can definitely make or break an implementation; this article is about making the pragmatic choices that make sense for your particular scenario.

正确确定微服务的规模并保持整体架构的灵活性肯定会影响实施;本文是关于为您的特定场景做出有意义的务实选择。

>> Adding service virtualization to your Continuous Delivery pipeline [ontestautomation.com]

A quick intro to a highly useful technique and trend that’s been picking up lots of momentum lately, and for good reason – making heavy use of virtualization within a CD pipeline.

快速介绍一种非常有用的技术和趋势,这种技术和趋势最近正在获得很大的发展,而且有很好的理由–在CD管道中大量使用虚拟化

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Security insanity: how we keep failing at the basics [troyhunt.com]

A fantastic deep-dive into broken password security rules.

对破损的密码安全规则进行了一次奇妙的深入研究。

>> Does Github Enhance the Need for Code Review? [daedtech.com]

An three-decade look at the proprietary vs open source software world from the vantage point of the seminal work The Cathedral and the Bazaar.

从开创性作品《大教堂与集市》的角度,对专有与开源软件世界进行了长达三十年的考察。

>> Surviving The Dreaded Company Framework [daedtech.com]

Internal frameworks are a pain point with so many developers, give that for every one that makes sense, a hundred that don’t are built. I cringed when I first read this title.

内部框架是许多开发者的痛点,每一个有意义的框架,都有一百个没有意义的框架被建立起来。当我第一次读到这个标题时,我吓了一跳。

>> With Commercial Licensing, Invest in Innovation, not Protection [jooq.org]

That’s good advice, and also scary if you actually have a product that the advice applies to. It’s also worth mentioning that the advice comes out of practical experience and not just out of “thinking about it a bit”.

这是一个很好的建议,如果你真的有一个建议适用的产品,也是很可怕的。还值得一提的是,这些建议来自于实践经验,而不仅仅是 “想一想 “的结果。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> I always plan my schedule around your incompetence [dilbert.com]

>> My productivity plunges whenever you learn new jargon [dilbert.com]

>> Yeah, that’s how it works [dilbert.com]

5. Pick of the Week

5。本周精选</strong

>> Don’t let anyone overpay you [m.signalvnoise.com]