Baeldung Weekly Review 5 – Baeldung每周评论5

最后修改: 2015年 1月 30日

At the very beginning of 2014 I decided to track my reading habits and share the best stuff here, on Baeldung.


2014 has been quite the year, covering each week with a review. I’ve been doing a lot more reading to make sure I cover and curate stuff that has value and is actually interesting.


Let me know in the comments if you’re finding my reviews interesting and useful.


Here we go…


1. Spring and Java


>> The API Gateway Pattern: Angular JS and Spring Security Part IV

A proxy/gateway is one of the core questions you need to answer when building your Spring webapp. It helps with quite a few things – CORS being one of them. So – this forth part in the new Spring Security with Angular series unfolding over on Spring Central is a very useful reference to have.

代理/网关是你在构建Spring webapp时需要回答的核心问题之一。它对很多事情都有帮助 – CORS就是其中之一。所以–在Spring Central上展开的新的Spring Security with Angular系列的第四部分是一个非常有用的参考。

Also – I just removed a topic from my article TODO list – and I didn’t have to write a single word ?


>> Spring 4 and Java 8

A quick guide on how Spring leverages Java 8 to write idiomatic code.

关于Spring如何利用Java 8来编写习惯性代码的快速指南。

>> Hibernate locking patterns – How does Optimistic Lock Mode work

An interesting code-focused exploration of Hibernate optimistic locking and more importantly – the potential caveats of using it.


>> Reading Large Lines Slower in JDK 7 and JDK 8

I enjoy reading “Inspired by Actual Events” for these low level deep-dives into the Java language – and this one doesn’t disappoint. Here’s the followup to it.

我喜欢阅读 “Inspired by Actual Events”,因为这些对Java语言的低水平深入研究–而这一篇并没有让人失望。下面是它的后续报道

>> Timeout support using ExecutorService and Futures

A quick introductory level article on working with a single thread executor and Java 8 streams.

一篇关于使用单线程执行器和Java 8流的快速入门级文章

Time to upgrade:


2. Technical and Musings


>> Avoiding the Perfect Design

Pragmatism a clear “exit criteria” are missing in our industry.

我们的行业中缺少实用主义和明确的 “退出标准”。

You would think it’s a “young gun” mistake, but it’s not. As you’re reading this right now, someone with decades in the industry is crossing his fingers and signing off on The Big Rewrite. Why? Because – maybe this time…

你会认为这是一个 “年轻枪手 “的错误,但它不是。就在你现在读到这篇文章的时候,一个在这个行业有几十年经验的人正在掰着手指头,签下大改写。为什么呢?因为–也许这次…

So – maybe don’t do that, and maybe go read this one.


>> Agile Methodologies or Agile Software?

I try to stay away from the Agile writings here on Baeldung. That’s because most of the stuff I read on the subject is just serviceable – sometimes. With a few minor exceptions of course – such as Dan North – but he publishes once every blue moon. This one though – worth reading.

我试图远离Baeldung上的敏捷著作。这是因为我读到的关于这个主题的大部分东西都是可用的–有时候。当然也有一些小的例外–比如Dan North–但他每隔一段时间就会发表一篇文章。不过,这一篇–值得一读。

>> Taking the long view

“The long game” is an acquired skill, after you’ve been burned one to many times. And having the discipline to take the necessary steps and track the results long term can be the difference between a successful and a failed project.

“长期游戏 “是一种后天的技能,在你被烧伤无数次之后。拥有采取必要步骤和长期跟踪结果的纪律,可以成为项目成功和失败的区别。

>> All the Technology but None of the Love

Good advice.


>> Getting Started with AngularJS

Looks like a solid start with AngularJS – I plan to go through it over the weekend.


3. Comics


And my favorite Dilberts of the week:


>> We’re going to try something called Agile Programming

>> Please don’t hit me with your modem

>> Which answer gets us hired?

4. Pick of the Week


Earlier this year I introduced the “Pick of the Week” section here in my “Weekly Review”. If you’re already on my email list – you got the pick already – hope you enjoyed it.

今年早些时候,我在 “每周回顾 “中推出了 “每周精选 “栏目。如果你已经在我的电子邮件列表中–你已经得到了精选–希望你喜欢它。