The Baeldung Weekly Review 7 – Baeldung周报》7

最后修改: 2014年 2月 19日

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

Let’s see what mid February has in store for us – surprisingly or not – a lot of good things.

让我们看看2月中旬为我们准备了什么–无论是否令人惊讶–很多好东西。

On Java

关于Java

=> Java 8 Friday Goodies: Map Enhancements

Good introduction of new APIs that are going to be available for Map in Java 8 – some previously verbose operations have just become simple.

很好地介绍了将在Java 8中为Map提供的新的API–一些以前冗长的操作刚刚变得简单。

=> Java 8 Performance Improvements: LongAdder vs AtomicLong

Java 8 will bring some nice performance improvements for multithreading – some real world numbers.

Java 8将为多线程带来一些不错的性能改进–一些实际的数字。

=> Free Java Profiling with Oracle Java Mission Control

Going beyond VisualVM – this is a real world example of the immense value of profiling your code.

超越VisualVM–这是一个现实世界的例子,说明了剖析你的代码的巨大价值。

=> Java 8 Cheatsheet

Useful little Java 8 cookbook for lambda syntax.

有用的Java 8 lambda语法的小手册。

=> Mockito: Why You Should Not Use InjectMocks Annotation to Autowire Fields

Insightful analysis of using Mockito @InjectMocks to wire in mock dependencies (vs. clean explicit declaration). The author that originally wrote about injecting mocks has also reconsidered his original view on this.

对使用Mockito @InjectMocks来连接模拟的依赖关系(相对于干净的显式声明)进行了深刻的分析。最初写过关于注入模拟的作者也重新考虑了他原来对此的看法

On Spring

关于Spring

=> Webinar Replay: Introduction to Apache Tomcat 8

This needs little introduction – if you’re doing any work with Tomcat, it’s definitely worth an hour of your time.

这不需要什么介绍–如果你在用Tomcat做任何工作,这绝对值得你花一个小时的时间。

=> Chaining URL View resolvers in Spring MVC

Work around the limitations of the standard InternalResourceViewResolver to get a deterministic order on the resolution process.

绕过标准InternalResourceViewResolver的限制,在解析过程中获得一个确定性的顺序。

Technical

技术

=> Cleaning Up Your Build

=> 清理你的建设

Having one must read article each week is becoming a thing for these weekly reviews.

每周有一篇必读的文章正在成为这些每周评论的事情。

This is the one this week – there have been a few very good articles – but this one really hits home. Wholly recommended.

这是本周的一篇文章–有几篇非常好的文章–但这一篇真的很有意义。完全推荐

=> Interface Segregation Principle: A Practical Example

A funny anecdotal tale on the merits of Interface Segregation. Segregate people!

一个关于界面隔离的优点的有趣轶事故事。隔离人!

=> Session-based Logging

This is becoming a good resource for logging and testing articles – another good article on getting the most out of your logging information.

这正在成为记录和测试文章的一个很好的资源–另一篇关于从你的记录信息中获得最大利益的文章。

=> A beginner’s guide to Git feature branches

Contributing to an open source project is something of an experience first time you do it. This will help get you started.

第一次为一个开源项目做贡献是一种经验。这将有助于你开始。

General Musings

一般思考

=> AlienatingAtmosphere

Very interesting read for a little bit of perspective about our ecosystem.

非常有趣的阅读,对我们的生态系统有一点看法。

Done

完成

As I mentioned before – my plan for these reviews is to give you my own perspective of the best handful of articles to read that week.

正如我之前提到的–我对这些评论的计划是给你提供我自己的观点,即那一周最值得阅读的几篇文章

If you have any suggestions on what I should read, to potentially include into the next review, drop me a line in the comments.

如果你有任何关于我应该读什么的建议,可能包括在下一篇评论中,请在评论中给我写信。

Also, if you feel that I missed a gem that came out this week, also let me know – these articles are editable at the end of the day.

另外,如果你觉得我错过了本周的一个精品,也请让我知道–这些文章在结束时是可以编辑的。

Have a great week.

祝你有一个美好的一周。

Eugen.

尤金。