Baeldung Weekly Review 46 – 巴尔东周报》46

最后修改: 2014年 11月 21日

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

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

在2014年年初,我决定开始追踪我的阅读习惯,并在这里分享最好的东西,在Baeldung

Curating my reading has made it more purposeful and diverse – and I’m hopefully providing value to you as well by allowing the best content of the week to raise to the top.

策划我的阅读使其更有目的性和多样性–我希望通过让一周中最好的内容提升到顶端,也能为你提供价值。

Here we go…

我们来了……

1. Java and Spring

1.Java和Spring</strong

>> Oracle announces more new Java 9 features!

New Java 9 features were announced this week. We knew modularity was the main focus, but we didn’t know logging is getting a facelift and the GC options a bit of a cleanup.

本周公布了Java 9的新特性。我们知道模块化是主要焦点,但我们不知道日志将被改头换面,GC选项也将被清理。

>> A beginner’s guide to Java time zone handling

The basics of dealing with time in Java – good stuff.

在Java中处理时间的基础知识 – 好东西。

>> Interrupting Executor Tasks

I like this blog – it’s almost always something I find bookmarking after I read it. This one is about the details of how to handle canceling ongoing work happening inside a thread.

我喜欢这个博客–它几乎总是让我在阅读后发现书签。这篇是关于如何处理取消线程内正在进行的工作的细节。

I have only vague recollections of doing this a few years back – and unfortunately I didn’t take notes. Turns out I can just refer back to this piece.

我对几年前做这件事只有模糊的印象–不幸的是我没有做笔记。结果,我可以直接参考这篇稿子。

>> ExecutorService – 10 tips and tricks

Practical suggestions to follow when working with thread pools. Even one hidden behind the Springs @Async abstraction will benefit from a lot of these points. All in all, if you’re using them, go read this one – you’ll save yourself some time.

使用线程池工作时应遵循的实用建议。即使是隐藏在Spring @Async 抽象背后的人也会从这些要点中受益。总而言之,如果你正在使用它们,请去读一读这篇文章–你会为自己节省一些时间。

>> Devoxx 2014 – Whiteboard votes

Interesting snapshot of the Java ecosystem by voters from Devoxx 2014. Worth a quick read.

来自Devoxx 2014的投票者对Java生态系统的有趣的快照。值得快速阅读。

Of course new Spring recordings from SpringOne came out this week:

当然,SpringOne的新Spring录音本周出来了。

2. Technical and Musings

2.技术和思考

>> Continuous Delivery 101: Automated Deployments

Continuous Deployment is the way to go – I don’t think anyone would argue with that. Getting there though is a different story – this piece is a quick and to the point maturity model for CD – a very useful thing to keep in your back pocket when you’re setting up Jenkins for your next project.

连续部署是必经之路–我想没有人会反对这一点。但要达到这个目标则是一个不同的故事–这篇文章是一个快速而直接的CD成熟度模型–当你为下一个项目设置Jenkins时,这是一个非常有用的东西,可以放在你的后袋里。

>> Testing Strategies in a Microservice Architecture

This presentation-style deck is a very good place to start understanding microservices.

这个演讲式的甲板是开始了解微服务的一个非常好的地方

2014 has definitely been a year of growth and adoption for this architectural style, but – based on the number of failure stories that come out recently – it shouldn’t be treated as a default go-to.

2014年无疑是这种建筑风格增长和采用的一年,但是–根据最近出来的失败故事的数量–它不应该被当作一个默认的选择。

Regardless, this deck is a balanced and well put together resource.

不管怎么说,这套牌是一个平衡的、精心组合的资源。

>> CAP Should Be CLAP

Very good read on why latency should be part of our discussion about CAP and our reasoning about availability. Definitely worth a read.

关于为什么延迟应该是我们讨论CAP的一部分以及我们对可用性的推理的非常好的阅读。绝对值得一读。

>> Annihilating Complexity

The fact that some people naturally add complexity to any scenario and some remove it is one of those things that – once you grok – you start seeing everywhere. And there’s worse things to be seeing everywhere – like the number 11 (I knew a guy).

有些人自然而然地在任何情况下增加了复杂性,而有些人则消除了复杂性,这是一种一旦你摸透了就会开始到处看到的东西。还有比这更糟糕的事情,比如数字11(我认识一个人)。

To cut a long story short – like all models, this one is a bit of a simplification, but a very useful one. Useful in the fact that it gives you a good frame to look at your own solutions to a given problem analytically and improve.

长话短说–像所有的模型一样,这个模型有点简化,但非常有用。有用的地方在于它给你提供了一个很好的框架,让你可以分析性地看待自己对某一问题的解决方案并加以改进。

>> How do I still write code as a Tech Lead?

Useful tactics on being an effective Tech lead. And effective means not putting distance between yourself and the code – if you stop coding, then you stop being a good lead.

关于成为一个有效的技术领导的有用策略。有效意味着不要在自己和代码之间拉开距离 – 如果你停止编码,那么你就不能成为一个好的领导。

3. Comics

3.漫畫

You though I’m running out of good XKCD? Think again:

你认为我已经没有什么好的XKCD了吗?再想想吧。

>> CD Tray Fight

>> The Difference

>> Connoisseur

4. Pick of the Week

4.本周精选

I recently 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.

我最近在 “每周回顾 “中推出了 “每周精选 “部分。如果你已经在我的电子邮件列表中–你已经得到了精选–希望你喜欢它。

If not – you should subscribe to get the next one.

如果没有–你应该订阅以获得下一篇。