The Baeldung Weekly Review 16 – Baeldung周报》 16

最后修改: 2014年 4月 25日


1. Spring


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


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


>> Project Sagan: Upgrading to JDK 8

Chris is continuing the series about project Sagan – the code that powers 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


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


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


3. Technical


>> 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


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