The Baeldung Weekly Review 16 – Baeldung周报》 16

最后修改: 2014年 4月 25日

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

1. Spring

1.Spring

Quite a lot of webinars and recordings come out this week on Spring:

本周有相当多的网络研讨会和录音在Spring出来。

Add to this a few very exciting Spring releases and project news, and we have a solid week for Spring:

再加上一些非常令人兴奋的Spring发布和项目新闻,我们有一个坚实的Spring周。

>> Project Sagan: Upgrading to JDK 8

Chris is continuing the series about project Sagan – the code that powers spring.io. Yet another reminder that Java 8 is not only ready for production use, but has also changed the way we’ll write code in Java going forward.

Chris正在继续关于Sagan项目的系列报道–支持spring.io的代码。这也再次提醒我们,Java 8不仅可以投入生产使用,而且还改变了我们今后用Java写代码的方式。

>> Tracking Exceptions – Part 5 – Scheduling With Spring

And since we’re only dealing in series this week – here’s the latest installment in the fantastic series about building a light web app that makes sense out of log files. I really enjoy seeing a real-world application being built like this.

由于我们本周只处理系列问题–这里是关于构建一个从日志文件中获得意义的轻型网络应用的奇妙系列的最新部分。我真的很喜欢看到一个真实世界的应用被这样构建。

2. Java

2.Java

>> My class loader hates me and wants to slow me down

The Jrebel guys know their classloaders and this article is no exception to that rule.

Jrebel公司的人了解他们的装货机,这篇文章也不例外。

>> HashMap performance improvements in Java 8

Java 8 brings some nice performance tweaks to the old trusty HashMap. I’ll take it.

Java 8为老式的可信赖的HashMap带来了一些不错的性能调整。我愿意接受。

>> Real world JMeter: 03 running tests with Jenkins

A good rundown for running Jmeter tests in Jenkins, against different environment.

在Jenkins中运行Jmeter测试,针对不同的环境,一个很好的概述。

3. Technical

3.技术

>> Three Reasons Why We Should Not Use Inheritance In Our Tests

Using inheritance is rarely a good idea, and preferring composition is one of these things things that you learn to do (and appreciate) more and more over time. This article covers a few good reasons why this is true for tests as well.

使用继承很少是一个好主意,而更喜欢组合是这些事情之一,随着时间的推移,你会越来越多地学会做(和欣赏)。这篇文章涵盖了一些很好的理由,为什么这对测试也是如此。

>> The 7 Log Management Tools Java Developers Should Know

The way of the land when it comes to log tools analyzers – SAAS, Open Source – all in all, a very useful analysis. This goes a long way towards helping you weigh your options and make a good decision when picking one of these for a production system. I know first hand how difficult it is to switch – having done it last year, half way through a project (goodbye Papertrail).

当涉及到日志工具分析器时,土地的方式 – SAAS,开源 – 总而言之,一个非常有用的分析。这在很大程度上有助于你权衡你的选择,并在为生产系统挑选这些工具时做出一个好的决定。我亲身体会到转换是多么困难–去年我在一个项目的中途就做了转换(告别Papertrail)。

>> Flexy Pool, reactive connection pooling

The story and reasoning behind flexi-pool – a new, adaptive connection pool proxy integrating with most relevant connection pooling solutions in the Java ecosystem.

flexi-pool背后的故事和理由 – 一个新的、自适应的连接池代理与Java生态系统中最相关的连接池解决方案集成。

4. Musings

4.思索

>> Musings on Refactoring as Waste

Insightful response from “The Code Whisperer” (aka J. B.) to a recent article on refactoring. While both views are pragmatic, I find the J.B.’s response a more nuanced and closer to my own thinking on this.

The Code Whisperer”(又名J.B.)对最近一篇关于重构的文章做出了深刻的回应。虽然这两种观点都很务实,但我发现J.B.的回应更细致,更接近我自己在这方面的想法。

>> Implied Acceptance Criteria

This is a good start of what could be a very useful list of generic acceptance criteria for an application. It covers things that are simply common across applications, and – as such, don’t belong on the individual acceptance criteria of an issue/story/task.

这是一个很好的开始,可以成为一个非常有用的应用程序的通用验收标准清单。它涵盖了整个应用程序中常见的东西,因此,不属于一个问题/故事/任务的个别验收标准。