Java Web Weekly, Issue 122 – Java网络周刊,第122期

最后修改: 2016年 4月 29日

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

At the very beginning of last year, I decided to track my reading habits and share the best stuff here, on Baeldung. Haven’t missed a review since.

去年年初,我决定跟踪我的阅读习惯,并在这里分享最好的东西,在Baeldung上。从那时起,我没有错过任何一篇评论。

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java</strong

>> Event Sourcing in Microservices Using Spring Cloud and Reactor [kennybastani.com]

All the cool kids of doing microservices – and most are left with a complex and hard to manage mess on their hands.

所有做微服务的酷儿们–而大多数人的手上都留下了一个复杂而难以管理的烂摊子。

But there are ways to avoid that – and Event Sourcing is one of the best ways I found to get there.

但是有一些方法可以避免这种情况–事件采购是我发现的最佳方法之一

>> How to verify equality without equals method [lkrnac.net]

A cool deep-dive into testing the implementation of the equals method using reflection.

对使用反射测试equals方法的实现进行了一次很酷的深入研究。

>> Exploring CQRS with Axon Framework: Closing thoughts [geekabyte.blogspot.com]

The end of a long running series I’ve been following closely, all about one of my favorite topics – Event Sourcing and CQRS.

我一直密切关注的一个长期系列的结束,所有关于我最喜欢的主题之一 – 事件采购和CQRS。

CQRS is definitely not the holy grail, but it sure comes close in some scenarios ?

CQRS绝对不是圣杯,但在某些情况下肯定很接近 ?

>> How to join unrelated entities with JPA and Hibernate [thoughts-on-java.org]

A cool addition to Hibernate I wasn’t aware of.

一个很酷的对Hibernate的补充,我没有意识到。

>> Java EE 8 MVC: Global exception handling [mscharhag.com]

A very quick and to the point intro to handling exceptions if you’re doing work with Java EE.

如果你正在使用Java EE工作,这是一个关于处理异常的非常快速和直接的介绍。

>> Save Time by Writing Less Test Code [petrikainulainen.net]

Some initial details about a course I’m really excited about (check out this week’s pick for more on that).

关于一个我非常兴奋的课程的一些初步细节(查看本周精选的更多内容)。

 

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术与思考

>> Why You Should Do Periodic Reviews of Legacy Code [daedtech.com]

Solid advice for keeping your less visited code for rotting and getting out of sync with the parts of the system you’re actively working on.

对于保持你较少访问的代码不会腐烂和与你正在积极工作的系统部分不同步的坚实建议。

>> Evaluating Delusional Startups [zachholman.com]

A funny read if you’re out of that game, and hopefully a helpful one is you’re not.

如果你不在那场比赛中,这是一本有趣的书,如果你不在那场比赛中,希望是一本有用的书。

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Bury something in the woods [dilbert.com]

>> Can’t you find meaning in your personal life? [dilbert.com]

>> That could work [dilbert.com]

4. Pick of the Week

4.本周精选

Almost a year ago, when I started to work on my first course, I wrote that we have so few solid courses in our ecosystem. I know from experience that it takes a long time to put together a good, high quality course – around 6 months of ongoing work – which explains why there are so few of these out there.

差不多一年前,当我开始制作我的第一个课程时,我写道,我们的生态系统中很少有可靠的课程。我从经验中知道,要把一个好的、高质量的课程放在一起需要很长的时间–大约6个月的持续工作–这就解释了为什么这些课程如此之少。

 

That’s slowly changing – Petri’s newly announced testing course is definitely going to be reference material:

这种情况正在慢慢改变–Petri新宣布的测试课程肯定会成为参考材料。

>> TEST WITH SPRING

 

The packages have been at 50% off all week (ending today) – so if you’re into testing, pick this one up. If you’re not really into testing, then definitely pick this one up.

这些套餐整个星期都在打五折(今天结束)–所以如果你喜欢测试,就买这个吧。如果你不是真的喜欢测试,那么一定要买这个。

I’m excited about this one, not just because it’s about testing, but also about Spring (which is very cool).

我对这个问题感到兴奋,不仅仅是因为它是关于测试的,也是关于春天的(这非常酷)。