The Baeldung Weekly Review 31 – Baeldung周报》 31

最后修改: 2014年 8月 8日

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

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

>> Writing Clean Tests – To Verify Or Not To Verify

Most articles use simple examples – get the point across, get in and get out. This is not one of these articles. Writing real software is a complex endeavor and here – we see a glimpse into what that looks like – an actual usecase unit tested in a disciplined manner. Then – these unit tests re-evaluated and improved.

大多数文章使用简单的例子–表达观点,进入并离开。这不是这些文章中的一个。编写真正的软件是一项复杂的工作,在这里–我们看到了一瞥–一个实际的用例以有规律的方式进行单元测试。然后,对这些单元测试进行重新评估和改进。

It’s worth taking the time to read this one.

值得花时间阅读这篇。

>> A beginner’s guide to JPA/Hibernate flush strategies

A rundown of how the Hibernate flush mechanism works – another one to augment your Hibernate know-how.

阐述了Hibernate冲洗机制的工作原理–这是另一个增强你的Hibernate知识的例子。

>> Spring MVC Integration Testing: Assert the given model attribute(s) have global errors

Cool example of creating a custom constraint and a custom validator – and using them within a Spring controller.

创建自定义约束和自定义验证器并在Spring控制器中使用它们的酷例子。

>> Top 4 Java Web Frameworks Revealed: Real Life Usage Data of Spring MVC, Vaadin, GWT and JSF

Stats about real-world usage of frameworks are always good – get Spring in the mix – and it gets even better. Some interesting numbers in here.

关于框架的实际使用情况的统计数字总是很好的–如果把Spring加入其中,情况就会变得更好。这里有一些有趣的数字。

>> Spring Boot Admin

An interesting little boot app used to provide quick feedback and info about your deployed applications.

一个有趣的小启动应用程序,用于提供关于你部署的应用程序的快速反馈和信息。

>> CRUD using Spring Data Rest and AngularJS using Spring Boot

A lot of cool stuff technologies used in this one – a sample app is a good place to start if you’re aiming to go into Spring Boot or any of the others. The article doesn’t hold your hand either – it throws you in the deep and you have to get swimming.

这篇文章中使用了很多很酷的技术–如果你的目标是进入Spring Boot或任何其他的应用,那么样本应用是一个很好的开始。这篇文章也没有牵着你的手–它把你扔进了水里,你必须去游泳。

2. Technical

2.技术

>> Life, the Universe and Technical Interviews

This quick post will get your mind going – particularly about fitting your own solution into a tweet. Bonus points for hitting 140.

这篇快速的文章将使你的思维活跃起来–特别是关于将你自己的解决方案装入一条推特。如果能达到140分,则可获得奖励。

3. Musings

3.思索

>> Recall, Retrieval, and the Scientific Method

Insightful piece on the scientific method, what TDD means in it’s context, and how continuing practice can rewire your thinking and overall approach.

关于科学方法的有见地的文章,TDD在它的背景下意味着什么,以及持续的实践如何重新引导你的思维和整体方法。