Baeldung Weekly Review 41 – Baeldung每周评论 41

最后修改: 2014年 10月 17日

中文/混合/英文(键盘快捷键: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

>> JavaOne 2014: Roadmaps for the near future of Java

A very cool visual roadmap of the Java platform going forward.

一个非常酷的Java平台未来的视觉路线图。

>> Java 9 Behind the Scenes: Where Do New Features Come From?

Super interesting behind the scenes look at how the Java language itself evolves. The process is not as transparent as it should be, and it’s articles like this that make it just a bit more transparent.

超级有趣的幕后故事Java语言本身是如何发展的。这个过程并不像它应该有的那样透明,而正是这样的文章让它变得更加透明。

>> Integration testing done right with Embedded MongoDB

If you’re using MongoDB – this looks like a good way to set up an external DB to run integration tests against, using Maven. You might also want to check the followup shortly after, on MongoDB Incremental Migration Scripts.

如果您使用的是MongoDB–这看起来是一个很好的方法,可以使用Maven设置一个外部数据库来运行集成测试。您可能还想看看不久之后的后续文章,关于MongoDB增量迁移脚本

>> Injecting domain objects instead of infrastructure components

Interesting take on DI – one that I’ve been staying clear but – I can see how, for certain specific usecases – it might be a good way to go. Regardless – it’s a quick and informative read.

对DI的有趣看法–我一直保持清醒,但是–我可以看到,对于某些特定的使用情况–它可能是一个好办法。不管怎么说,这是一本快速且内容丰富的书。

>> Spring @Configuration and injecting bean dependencies as method parameters

A very quick look at the basics of Java Spring configuration – it’s a good place to start.

快速了解Java Spring配置的基础知识 – 这是一个很好的开始。

>> Whats new in Spring Data Evans?

A very useful rundown of all the new features in the latest release train of Spring Data. I’m particularly excited about the multi-store support – planning to make use of that soon.

对Spring Data最新版本中所有新功能的介绍非常有用。我对多存储支持感到特别兴奋–计划很快就会使用它。

And of course the Spring releases that I found most interesting this week:

当然还有本周我觉得最有趣的Spring发布

2. Technical and Musings

2.技术和思考

>> Validate Configuration on Startup

I do remember when I spent a whole day trying to identify and fix a configuration problem only to realize that I mistyped something – it wasn’t a fun day. That was a few years ago now and I’ve been validating the configuration of all my projects on startup ever since. Yeah – go read this one.

我确实记得,我花了一整天的时间试图找出并解决一个配置问题,却发现我打错了什么东西–那不是一个有趣的日子。那是几年前的事了,从那时起,我就开始在启动时验证我所有项目的配置。是的–去读这个。

>> What Your Tests Don’t Need to Know Will Hurt You

Listening to your tests and starting to see the irrelevant code in those tests as code smells is a major element in my own coding practice and probably one of the most impactful ones. Do that enough and you’ll see your design improve as you gain discipline with the refactoring step of TDD.

倾听你的测试,并开始将这些测试中不相关的代码视为代码气味是我自己编码实践中的一个主要元素,可能是最有影响的元素之一。做到这一点,你会看到你的设计得到改善,因为你在TDD的重构步骤中获得了纪律性。

>> Lessons Learnt Using Microservices

Lessons learnt implementing a complex system with microservices are worth their weight in gold – if you’re planning to go down the microservice route. Don’t just assume that it’s a good way to go – take in these few reports from engineers who’re already doing it before you try it for yourself.

用微服务实施复杂系统的经验教训值得一试–如果你打算走微服务路线。不要只是假设这是一条好路子–在你自己尝试之前,请参考这些已经在做的工程师的报告。

>> Redis cluster, no longer vaporware.

A very interesting writeup about the 4 year story of designing the cluster part of Redis. Inspiring stuff.

一篇关于设计Redis集群部分的4年故事的非常有趣的文章。鼓舞人心的东西。

>> Inertia

“Traffic jams. They’re hilarious … ”

“交通拥堵。他们很搞笑……”

Now that’s a good way to start an article about startups. This is an interesting musing (it’s not in the “Musings” section for nothing) about inertia in startup culture. When things are good, it breaths enthusiasm in the in all aspects of the culture and when they’re bad – that spreads as well.

这是一篇关于初创企业的文章的好开头。这是一篇关于创业公司文化中的惰性的有趣思考(它不是白白放在 “思考 “部分)。当事情好的时候,它在文化的所有方面都充满了热情,而当事情不好的时候,这种热情也会蔓延。

3. Comics

3.漫畫

Seriousness aside, it’s time for some XKCD:

撇开严肃性不谈,是时候来点XKCD了。

>> Donald Knuth

>> Purity

>> Hell

4. Pick of the Week

4.本周精选

Recently, I introduced the “Pick of the Week” section here in my “Weekly Review”. The interesting part is that it’s entirely exclusive to my email list subscribers.

最近,我在 “每周回顾 “中推出了 “每周精选 “栏目。有趣的是,它是完全为我的电子邮件列表订户所专有的

So – if you came to this article from my email list, you have the pick already – hope you enjoyed it.

所以–如果你从我的电子邮件列表中看到这篇文章,你已经有了选择–希望你喜欢它。