The Baeldung Weekly Review 32 – 巴尔东周报》 32

最后修改: 2014年 8月 15日

At the very beginning of 2014 I decided to start better documenting my reading habits and sharing them here with all of you.

在2014年年初,我决定开始更好地记录我的阅读习惯,并在这里与你们所有人分享

The point is two fold – by curating and documenting, my reading has become more purposeful and diverse. Also – I believe that curation of good content brings a lot of value, helps people explore and allows the best stuff to raise to the top.

这有两层意思–通过策划和记录,我的阅读变得更有目的性和多样化。另外–我相信对好内容的策划会带来很多价值,帮助人们探索,并让最好的东西提升到顶端。

Hopefully you’ll enjoy these as we move in the latter half of 2014.

希望在我们进入2014年下半年时,你会喜欢这些。

Here we go…

我们来了……

1. Java and Spring

1.Java和Spring</strong

>> Validation groups in Spring MVC

Validation groups for putting complex constraints around your data – always useful.

验证组用于在你的数据周围设置复杂的约束条件–总是很有用。

>> Generating equals(..), hashCode() and toString()

Simple overview of the way we handle the equals() and hashCode() implementations in our Java code.

简单概述我们在Java代码中处理equals()hashCode()实现的方式。

>> The dark side of Hibernate AUTO flush

A deeper look at Hibernate flushing mechanism, warts and all. Sometimes Hibernate doesn’t play well with native SQL – and forcing it to do so is not the kind of thing you’d want around your clean codebase.

深入了解Hibernate的刷新机制,包括疣体和所有。有时,Hibernate不能很好地使用本地SQL–强迫它这样做并不是你想在你干净的代码库周围的那种东西。

>> Spring Framework 4.1 RC2 Released

Very quickly after the RC1 a few weeks back, Spring 4.1 RC2 is out this week. The good bits are – better DI with the new @LookupMethod annotation, Hibernate 4 fixes, Protocol Buffers support and a host of other improvements.

在几周前的RC1之后,Spring 4.1 RC2很快就出来了。好的方面是–通过新的@LookupMethod注解,更好的DI,Hibernate 4的修复,协议缓冲区支持和一系列其他改进。

>> Jquery Ajax Autosave Example in Spring Mvc

An interesting autosave example using Spring and Jquery – might come in useful.

一个有趣的使用Spring和Jquery的自动保存例子–可能会有用处。

2. Technical

2.技术

>> Get Rid of the URL Pollution

A bit about making your URLs friendlier. I’m doing the same whenever I copy-paste an URL – I remove the analytics parameters and any other param that’s not vital to keep.

关于使你的URLs更友好。每当我复制粘贴一个URL时,我也在做同样的事情–我删除分析参数和任何其他不需要保留的参数。

>> ChessTDD 12: Blind Alleys

Last piece of a very good series on TDD. I’ve been covering the series from day 1 here, and I fully recommend it to anyone that hasn’t yet fully embraced TDD as a daily practice.

关于TDD的一个非常好的系列的最后一篇文章。我从第一天开始就在这里报道这个系列,我向还没有完全接受TDD作为日常实践的人全力推荐这个系列。

The one thing I would have liked to seen happen with the series is it would have been great to see it as a payed product. For one – because I think it provides enough value to justify that, but more importantly, people tend to value something more if it’s not free.

我希望看到这个系列发生的一件事是,如果能看到它成为付费产品就好了。其一,因为我认为它提供了足够的价值来证明这一点,但更重要的是,如果不是免费的,人们往往更重视一些东西。

3. Musings

3.思索

>> Failing at Microservices. (Please avoid our mistakes!)

Fantastically helpful writeup about what it takes to do microservices right as a team – some of these points are all to familiar.

关于作为一个团队做好微服务所需的条件的文章非常有帮助–其中一些观点都很熟悉。

This is a honest look at a past project, the team the good and the bad – which is quite inspiring.

这是对一个过去项目的诚实回顾,团队的好与坏–这相当鼓舞人心。

4. Comics

4.漫画

Last week I had some fun and included a comic into my weekly review. So this week I decided to have even more fun and dug through my comic bookmarks for the best stuff – there’s going to be a few in my weekly reviews.

上周我有一些乐趣,并将一幅漫画纳入我的每周评论。因此,本周我决定玩得更开心,在我的漫画书签中挖出最好的东西–我的周评中会有一些。

Let’s start with the classics:

让我们从经典之作开始。

>> Real Programmers

>> Duty Calls

>> Devotion to Duty