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.


Here we go…


1. Spring and Java


>> Implementing HAL hypermedia REST API using Spring HATEOAS []

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.


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


>> How I Caused Confusion about Spring Boot []

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

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

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

Some interesting Groovy alternative configuration for handling properties in Spring.


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

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


>> Goldilocks Microservices []

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

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.


Also worth reading:


3. Musings


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

A fantastic deep-dive into broken password security rules.


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

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

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

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


And my favorite Dilberts of the week:


>> I always plan my schedule around your incompetence []

>> My productivity plunges whenever you learn new jargon []

>> Yeah, that’s how it works []

5. Pick of the Week

5 本周精选

>> Don’t let anyone overpay you []