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

最后修改: 2016年 2月 12日

中文/混合/英文(键盘快捷键: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

>> Reactive Spring [spring.io]

A quick announcement of the plans towards the reactive programming in Spring 5.

迅速宣布对Spring 5的反应式编程的计划

>> How to enable bytecode enhancement dirty checking in Hibernate [vladmihalcea.com]

An interesting Hibernate 5 feature – using bytecode enhancement to do dirty checking. Quick and to the point.

一个有趣的Hibernate 5功能–使用字节码增强来做脏检查。快捷而有针对性。

>> Dear API Designer. Are You Sure, You Want to Return a Primitive? [jooq.org]

Good API design is hard – that much should be clear by now.

好的API设计是困难的–这一点现在应该很清楚。

But we’re all working towards getting better at it, and this writeup definitely makes some good points towards that.

但我们都在努力使自己做得更好,而这篇报道无疑为这一点提出了一些很好的观点。

>> Designing your own Spring Boot starter – part 1 [frankel.ch]

The first steps in putting together a Spring Boot style auto configuration – leveraging the wide array of flexible annotations in Boot.

Spring Boot风格的自动配置放在一起的第一步–利用Boot中广泛的灵活注释。

This is no longer a new concept, but it’s still super powerful, especially if you chose to go beyond what the framework provides out of the box.

这不再是一个新的概念,但它仍然是超级强大的,特别是如果你选择超越框架所提供的开箱即用。

>> Preventing Session Hijacking With Spring [broadleafcommerce.com]

Solid read on protecting your system against session fixation attacks with Spring Security.

关于用Spring Security保护你的系统免受会话固定攻击的可靠阅读。

>> Java for small teams [ncrcoe.gitbooks.io]

This looks like a very useful collection of tactics and general practical advice for your first few years of doing Java work.

这看起来是一本非常有用的战术和一般实用建议集,适用于你做Java工作的头几年

I haven’t read the whole thing, but the bits that I did read, I fully agreed with.

我没有读完,但我所读的部分,我完全同意。

>> IntelliJ IDEA Pro Tips [medium.com]

A good array of more advanced tips to using IntelliJ well.

一系列很好的使用IntelliJ的高级技巧

Getting the most out of your IDE can really make a day to day difference in your coding flow. I personally learned the most out of pairing sessions and watching my pair do stuff better than I did.

从你的IDE中获得最大的收益,真的可以使你的编码流程每天都有所不同。我个人从配对会议中学习到了最多的东西,看着我的搭档比我做得更好。

So this is definitely recommended reading if you’re an IntelliJ user (I’m not).

因此,如果你是IntelliJ的用户(我不是),这绝对是推荐阅读的。

>> Announcing Extras for Eclipse [codeaffine.com]

And on that note – here’s some Eclipse goodness as well.

关于这一点–这里也有一些Eclipse的好处

Also worth reading:

也值得一读。

Webinars and presentations:

网络研讨会和演讲。

Time to upgrade:

是时候升级了。

2. Technical

2.技术

>> Data breaches, vBulletin and weak password hashing [troyhunt.com]

Read up on this if you’re doing any kind of security online. Good stuff.

如果你在网上做任何形式的安全,请阅读这个。好东西。

>> Elasticsearch Cluster in a Jiffy [codecentric.de]

>> Elasticsearch Cluster in a Jiffy [codecentric.de]

To the point options to bootstrap an Elasticsearch cluster. I’ll definitely give this a try soon, as I’m doing a lot of Elasticsearch work lately.

谈到bootstrap Elasticsearch集群的选项。我一定会很快试一试,因为我最近在做很多Elasticsearch的工作。

>> Jepsen: RethinkDB 2.2.3 reconfiguration [aphyr.com]

As always, if you’re interesting in the inner-workings of how persistence works, have a read.

像往常一样,如果你对持久性的内部工作原理感兴趣,可以阅读一下。

This one is about RethinkDB – which I’ve personally never used, which didn’t make this piece any less interesting.

这篇是关于RethinkDB的–我个人从未使用过,但这并没有使这篇稿子变得更有趣。

Also worth reading:

也值得一读。

3. Musings

3.思索

>> Costs And Benefits Of Comments [codefx.org]

Another interesting installment in the “comments” series.

评论 “系列中的另一个有趣的部分。

This one is on my weekend reading list, but I wanted to include it here because I really enjoyed the past writeups.

这部作品在我的周末阅读清单上,但我想把它放在这里,因为我非常喜欢过去的写法。

>> Working with feature-toggled systems [martinfowler.com]

>> Final part of Feature Toggles [martinfowler.com]

The final two parts in what is now a complete reference article on using feature toggles in a system.

现在是一篇完整的参考文章关于在系统中使用功能切换的最后两部分

>> Mistakes Dev Managers Make [daedtech.com]

I fully agree that doing a good job as a manager comes down to trust. The trust the manager has in the team, and of course the way to team trust (or doesn’t trust) the manager.

我完全同意,做好一个经理的工作归结为信任。经理对团队的信任,当然还有团队对经理的信任(或不信任)的方式。

>> Taobao’s Security Breach from a Log Perspective [loggly.com]

Yet another security breach story, and of course something that could have been avoided with just a few straightforward safeguards in place.

又一个安全漏洞的故事,当然,只要有一些直接的保障措施就可以避免。

Looks like I timed the announcement of my next course – Learn Spring Security – at the perfect time 🙂

看来我宣布我的下一个课程–学习Spring Security–的时间很合适 🙂。

>> The 5 Golden Rules of Giving Awesome Customer Support [jooq.org]

Good advice all around.

所有这些都是好建议。

Also worth reading:

也值得一读。

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> You read those same policies last week [dilbert.com]

>> Did you know it was hideous before I told you? [dilbert.com]

>> I don’t do that [dilbert.com]

 

5. Pick of the Week

5 本周精选

After a couple of months of winding down after the intensity of writing and recording the Master Class of my last course, I’m finally well rested and ready to announce my next big project:

在经过几个月紧张的写作和录制上一个课程的大师班之后,我终于休息好了,准备宣布我的下一个大项目

>> Learn Spring Security

> > Learn Spring Security