Baeldung Weekly Review 6 – Baeldung每周评论6

最后修改: 2015年 2月 6日

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

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

在2014年一开始,我就决定追踪我的阅读习惯,并在这里分享最好的东西,在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.

2014年是相当不错的一年,每周都会有一篇评论。我一直在做更多的阅读,以确保我覆盖和策划的东西有价值,而且实际上是有趣的。

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

请在评论中告诉我,如果你觉得我的评论有趣和有用。

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> How to fix optimistic locking race conditions with pessimistic locking

Combining pessimistic and optimistic locking with Hibernate to keep the integrity of your data.

悲观和乐观的锁定与Hibernate结合起来,以保持数据的完整性。

>> Top 5 Use-Cases For Nested Types

With the advent of lambdas, a deep dive, back-to-roots piece on Java nested classes is quite helpful, at least for a solid grasp of the basics.

随着lambdas的出现,关于Java嵌套类的深入研究、返璞归真的文章是相当有帮助的,至少对基础知识有了坚实的掌握。

>> Inconsistent operation widen rules in Java

Another back-to-basics with Java – a nice reminder on working with numerical primitives.

另一篇关于Java的返璞归真的文章–一个关于使用数字基元的良好提醒。

>> Programmatically Determining Java Class’s JDK Compilation Version

Another cool, low level Java article – this time about determining the version of the JDK that compiled a class. I didn’t even know it was possible.

另一篇很酷的低级Java文章–这次是关于确定编译类的JDK版本。我甚至不知道这有可能。

>> Storing months of historical metrics from Hystrix in Graphite

Very cool solution for monitoring your app.

非常酷的解决方案,用于监测你的应用程序

I’ve been using various permutations for monitoring – CollectD and Graphite (and more recently Kibana) being the most common – but this looks quite slick.

我一直在使用各种不同的监测方式–CollectD和Graphite(以及最近的Kibana)是最常见的–但这看起来相当巧妙。

>> SSO with OAuth2: Angular JS and Spring Security Part V

Getting into more advanced topics with the 5th part of the AngularJS and Spring Security series – with a deep dive into OAuth and SSO.

通过AngularJS和Spring Security系列的第五部分进入更高级的主题–深入了解OAuth和SSO

>> Why 12 Factor Application Patterns, Microservices and CloudFoundry Matter

Complicated, manual and error prone deployment processes – that brings me back; the industry has come a long way since the early days.

复杂的、手动的、容易出错的部署过程–这让我想起了;从早期开始,这个行业已经走过了很长的路。

And some good talks to have fun with during the weekend:

还有一些很好的会谈,在周末的时候可以玩得很开心。

Time to upgrade:

是时候升级了。

2. Technical and Musings

2.技术和思考

>> Cutting Down on Code Telepathy

“Out of Band” required knowledge to interact with an API is usually not good. A REST architecture addresses the problem via the HATEOAS constraint and Media Types. However this is not a REST-only issue, but a question to be asked when designing any API:

与API互动所需的 “带外 “知识通常不是好事。REST架构通过HATEOAS约束和媒体类型来解决这个问题。然而,这并不是一个只属于REST的问题,而是在设计任何API时都要问的问题。

Does the caller require any out of band knowledge to consume the API?

调用者是否需要任何带外知识来消费API?

If so, this is a cost; depending on the situation, it may be a cost you want to take on, but it should always be an intentional decision.

如果是这样,这就是一种成本;根据情况,这可能是你想承担的成本,但它应该始终是一个有意的决定

>> The Army of the New Independents

The job / employment landscape is changing, and fast. So, if you are already independent or thinking about it, this is a good one to read to give you some context.

工作/就业环境正在发生变化,而且速度很快。因此,如果你已经独立或正在考虑独立,这是一个很好的阅读,给你一些背景。

>> Programmer IS A Career Path, Thank You

>> 程序员是一条职业道路,谢谢你

The Musings section is good advice this week – have a read.

本周的Musings部分是很好的建议–请阅读。

>> Let’s Talk About Your Backups

Wake up call?

唤醒?

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> The Problem with Randomness (you can never be sure)

>> Buzzwords

>> Empty Jargon

4. Pick of the Week

4.本周精选

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.

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