The Baeldung Weekly Review 15 – Baeldung周报》 15

最后修改: 2014年 4月 18日

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

1. Java

1.Java

>> Java 8 LongAdders: The Right Way To Manage Concurrent Counters

These new concurrent counters have me giddy and excited – well researched, backed by real numbers and with the code on github – what more can you ask for?

这些新的并发计数器让我感到头晕目眩和兴奋–经过精心研究,有真实的数字支持,而且代码在github上–你还能要求什么呢?

>> Maven and Java multi-version modules

An interesting usecase with a Maven multi-module project that requires different minimal Java versions.

一个有趣的用例是,Maven多模块项目需要不同的最小Java版本。

>> We’re Hacking JDBC, so You Don’t Have To

JDBC is indeed a simple API, but it can lead to Mordor-like unfriendly code – this article shows just a few of code samples of what that can look like. Here be dragons.

JDBC确实是一个简单的API,但它可能会导致类似魔都的不友好代码–本文只是展示了一些代码样本,说明这可能是什么样子。这里是龙。

>> Clean Synchronization Using ReentrantLock and Lambdas

Interesting and in-depth analysis of using the ReentrantLock with JUnit and Mockito.

对使用ReentrantLock与JUnit和Mockito的有趣而深入的分析。

2. Spring

2.Spring

>> Cache Abstraction: JCache (JSR-107) Annotations Support

Very nice rundown of the JCache annotations as supported by Spring. Bookmark for later use.

对Spring支持的JCache注解进行了很好的梳理。收藏起来以备后用。

>> Using jOOQ with Spring: CRUD

Petri’s third article in his Spring with jOOQ series – this one covers a meat of the CRUD application using a nice fluid builder for entities and joda-time to boot. I’ll be following this when I dig into jOOQ.

Petri在他的Spring与jOOQ系列中的第三篇文章–这篇涵盖了CRUD应用的肉体,使用了一个漂亮的实体流体构建器和joda-time来引导。当我研究jOOQ时,我将会关注这篇文章。

>> Spring MVC Test with Geb

>> Spring MVC Test with Geb

The latest article about UI testing for Spring MVC – ties together the concepts from before elegantly with Groovy and Geb.

最新一篇关于Spring MVC的UI测试的文章–用Groovy和Geb将之前的概念优雅地联系在一起。

>> Spring test with thymeleaf for views

Practical article on how Thymeleaf improves the testability of Spring MVC views – we can now work with the actual view when testing, not just the name of a JSP.

关于Thymeleaf如何提高Spring MVC视图的可测试性的实用文章 – 我们现在可以在测试时使用实际的视图,而不仅仅是JSP的名称。

3. Technical

3.技术

>> The anatomy of Connection Pooling

The perfect intro to connection pooling – especially the part breaking down the low-level details of a connection, from the client level down to the database.

连接池的完美介绍–特别是分解连接的低级细节的部分,从客户层面到数据库。

>> NCrunch and Continuous Testing: The Must-Have Setup

I’m not using C# or Visual Studio – however, this article is mainly about TDD and not so much about the specifics. Goes without saying that you should read this one…

我没有使用C#或Visual Studio–然而,这篇文章主要是关于TDD,而不是关于具体内容。不言而喻,你应该阅读这篇…

4. Musings

4.思索

>> How to be an open source gardener

An insightful and grounded article about what it really means to do work in an open source project – wholly recommended.

一篇关于在开源项目中工作的真正含义的有洞察力和基础的文章 – 完全推荐。

>> Letter to a Junior Designer

I am not a designer – not by a long shot, but this caught my eye and it turned out to be a timeless bundle of good advice that every developer should read.

我不是一个设计师–远非如此,但这引起了我的注意,它变成了一个永恒的好建议束,每个开发者都应该阅读。

>> Gervais / MacLeod

>> Gervais / MacLeod

OK, this has been a long time coming – I read this brilliant analysis of the MacLeod hierarchy and the Gervais Principle while it was being written, and whatever I write here, trying to describe it in a few short lines isn’t going to do it justice. Be warned that it’s extremely long (26 parts) – in fact, I think it would make a fantastic book – and it’s absolutely worth reading. While this hasn’t been written in this past week, I’m making it the highlight of the week nonetheless.

好吧,这已经是很久以前的事了–我在写这篇文章时读到了这篇关于麦克劳德等级制度和格维斯原则的精彩分析,无论我在这里写什么,试图用几行短文来描述它都是不公平的。请注意,它非常长(26个部分)–事实上,我认为它可以成为一本奇妙的书–而且绝对值得一读。虽然这不是在过去的一周里写的,但我还是要把它作为本周的亮点。

Also, as a quick sidenote, the only way I could find a list of the posts in a chronological order was via the search function. Enjoy.

另外,作为一个简短的附注,我能够找到按时间顺序排列的帖子清单的唯一方法是通过搜索功能。请享用。