Baeldung Weekly Review 48 – Baeldung每周评论 48

最后修改: 2014年 12月 5日

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

>> Java Doesn’t Suck – You’re Just Using it Wrong

Let’s put our best foot forward and start this weeks review with a must read. If you’re reading my reviews, you’re likely doing some work in Java – in which case, this piece will be highly useful.

让我们把最好的一面展现出来,以必读作为本周评论的开始。如果你在读我的评论,你很可能在做一些Java方面的工作–在这种情况下,这篇文章将非常有用。

Some of these points are obvious but I need to give a bit more through to the ones that aren’t.

其中一些观点是显而易见的,但我需要对那些不显而易见的观点多说几句。

>> New Java Version – it’s not JDK 1.9

I never thought I’d see the day, but it looks like it actually may be happening – Java’s going for semantic versioning. No more elvish 1.7.0_65-b20 (7u65) – but simple 7.6.15.

我从未想过我能看到这一天,但看起来它确实可能会发生–Java将采用语义版本控制。不再有精灵般的1.7.0_65-b20 (7u65)–而是简单的7.6.15。

And since we’re on JDK related news, the main JDK 9 page was just updated with a few interesting tidbits. A few more JEPs as well as a proposal to drop the JSON API!

既然我们谈到了与JDK相关的新闻,JDK 9的主页面刚刚更新了一些有趣的小故事。更多的JEP以及一个关于删除JSON API的提议!

>> 15 Tools Java Developers Should Use After a Major Release

Whenever I come across a system running in production without monitoring or a good logging solution – and it happens more often than you’d imagine – I tend to fall back to a few of the solutions in this article.

每当我遇到一个在生产中运行的系统没有监控或一个好的日志解决方案–这种情况比你想象的要多–我往往会回到本文中的一些解决方案。

I always find these high level comparisons useful – they give you the much needed context of someone who took the time to try out all of the options for themselves.

我总是觉得这些高水平的比较很有用–它们给了你一个非常需要的背景,那就是有人花时间为自己尝试了所有的选择。

>> The Fatal Flaw of Finalizers and Phantoms

An in-depth read on why not to use finalizers in Java.

深入解读为什么不在Java中使用终结者。

>> Latest Jackson integration improvements in Spring

I’m very excited about the new Jackson goodness in the very latest Spring releases – it looks like it’s going to allow a lot more flexibility in terms of output.

我对最新的Spring版本中的新的Jackson goodness感到非常兴奋–看起来它将允许在输出方面有更大的灵活性。

>> First Milestone of Spring Data Release Train Fowler Available

Spring Data needs no introduction – here’s what’s going to be available in the next release. Or – if you’re not going with it in production, what might already be available by using this Milestone. I’m going to try the new Elasticsearch release shortly.

Spring Data无需介绍–这里有下一个版本将提供的内容。或者–如果你不打算在生产中使用它,通过使用这个Milestone,可能已经有了什么。我很快就会去尝试新的Elasticsearch版本。

>> Spring Tool Suite and Groovy/Grails Tool Suite 3.6.3 released

Step right up. Upgrade your IDE.

踏实点。升级你的IDE。

>> Avoid unwanted component scanning of Spring Configuration

If you have the problem of duplicate beans in your Spring context, you might not even be aware of it. Here’s a simple solution for the Spring Security configuration.

如果你的Spring上下文中有重复的Bean问题,你甚至可能没有意识到。这里有一个关于Spring安全配置的简单解决方案。

>> Spring request-level memoization

A cool technique to leverage caching as cross-cutting concern of your system and get repeatable reads at the request level with Spring.

一种很酷的技术,可以利用缓存作为系统的交叉关注点,并通过Spring在请求层面获得可重复的读取。

>> Spring RestTemplate with a linked resource

Making the RestTemplate HAL aware – very cool indeed.

RestTemplateHAL感知–确实非常酷。

And finally, the webinar recordings that I have on my TODO list for this weekend:

最后,我在本周末的TODO清单上的网络研讨会录音

2. Technical and Musings

2.技术和思考

>> The Dominant Leader Fallacy

Leadership is a matter of trust — not dominance.” The last sentence sums up this piece quite well – mosey over and give it a read if you resonate with that.

“最后一句话很好地总结了这篇文章–如果你对此有共鸣的话,请过去阅读一下。

>> TDDaiymi vs. Naked Primitives

TDD-ing your way to good design is a learned skill that takes years of practice. I’m certainly not “there” yet, nor do I think there is a “There” really.

TDD-ing your way to good design是一项需要多年练习的技能。我当然还没有 “到”,我也不认为真的有 “到”。

That being said – these Katas/Activities are a very useful kick in the read end. And the only way to start – unless your uber-disciplined – is doing them in a group setting, such as a code retreat – where you have no other choice.

这就是说–这些卡塔斯/活动在阅读方面是非常有用的一击。开始的唯一方法–除非你有超强的纪律性–是在小组环境中进行,如代码闭关–在那里你没有其他选择。

>> Getting Started with Machine Learning

A conversational intro to machine learning, along with an actual example of how to build yourself a classifier (and why).

一个对话式的机器学习介绍,以及一个如何为自己建立一个分类器的实际例子(以及为什么)。

>> What is the Web?

You’ve been doing development on the web in some shape of form for years now, as have I. Is it still worth reading this article?

你已经在网络上以某种形式进行开发多年了,我也是如此。这篇文章还值得一读吗?

Yes it is!

是的,它是!

>> Static Typing Is Not for Type Checking

A nuanced view on some of the advantages of statically-typed language. An interesting read.

关于静态类型语言的一些优势的细微看法。一个有趣的阅读。

>> Git 2.2.0 is out!

Nice overview of what’s new and useful in the 2.2 release of Git.

很好地概述了Git 2.2版本中的新内容和实用性。

3. Comics

3.漫畫

XKCD is my go to. Dilbert is a close second:

XKCD是我的首选。迪尔伯特紧随其后。

>> Anonymous Survey

>> Lie by omission?

>> A nun, a CEO and a Scientist a in a burning building

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.

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