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

最后修改: 2016年 5月 5日

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

>> The best way of logging JDBC statements [vladmihalcea.com]

Some cool techniques to set up logging in a Hibernate system or right around the data source.

在Hibernate系统中或在数据源周围设置日志的一些很酷的技术

This one falls in the category – “didn’t know you could do that”.

这个属于–“不知道你可以这样做 “的范畴。

>> What’s new in Spring Data Hopper? [spring.io]

Some really cool stuff in this latest Spring Data release.

这个最新的Spring Data版本中,有一些非常酷的东西

I’m especially interested in the Querydsl stuff – looks like I have something to play with this weekend.

我对Querydsl的东西特别感兴趣–看起来我这个周末有东西可以玩了。

Projections also look like they’re going to really come in handy in some scenarios.

预测看起来也会在某些情况下真正派上用场。

>> Using Java Generics to express variance of Collections and Functions [advancedweb.hu]

Playing with generics is always fun, especially when you sprinkle some Java 8 syntax on top.

玩泛型总是很有趣,尤其是当你在上面撒上一些Java 8语法的时候。

>> Laziness at extreme: developing JAX-RS services with Spring Boot [aredko.com]

A quick and fun way of using Boot outside the core Spring ecosystem.

在核心Spring生态系统之外使用Boot的一种快速而有趣的方式

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> The Benefits of Hypermedia APIs [olivergierke.de]

If you’ve been following Baeldung for any amount of time, you know Hypermedia APIs are one of my favorite topics. So I was excited to see this writeup pop up in my RSS feed.

如果你一直在关注Baeldung,你就知道超媒体API是我最喜欢的话题之一。所以当我看到这篇报道出现在我的RSS提要中时,我很兴奋。

Yeah – go read this one.

是的–去读这个。

>> Locating Common Micro Service Performance Anti-Patterns [infoq.com]

A solid overview of the common things that can go wrong in a microservice architecture.

微服务架构中可能出错的常见事项的扎实概述

Some of these aren’t microservice specific, but the ones that are definitely paint a clear picture of the extra complexity in this kind of system.

其中一些并不是针对微服务的,但那些肯定是描绘了这种系统的额外复杂性的清晰画面。

>> Microservices are about applying a group of Best Practices [vanillajava.blogspot.com]

Moving an existing codebase to a microservice architecture is no small feat. And that’s not even taking into account the non-technical challenges.

将现有的代码库转移到微服务架构不是一件小事。这还没有考虑到非技术方面的挑战。

We definitely need more nuanced strategies based on actual production experience with microservices to help drive these architectural decisions.

我们肯定需要更多基于微服务实际生产经验的平衡策略来帮助推动这些架构决策。

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Hiring is Broken… And It Isn’t Worth Fixing [daedtech.com]

An insightful read on how the hiring process isn’t looking at the right things.

一篇关于招聘过程中没有看对东西的有见地的文章。

It’s also long enough to fit three cool cartoons 🙂

它的长度也足以容纳三部很酷的卡通片🙂。

The interesting thing is that I’ve read about at least two companies trying to take on the challenge just this week – both with non-traditional, depth vs width approaches. So maybe there’s hope.

有趣的是,就在本周,我读到至少有两家公司试图接受这一挑战–两者都采用了非传统的、深度与宽度的方法。所以也许有希望。

>> Breach concealment is not a security strategy [troyhunt.com]

If you find security news and musings about the right way to handle a data breach interesting – then this is certainly worth reading.

如果你觉得安全新闻和关于处理数据泄露的正确方法的思考很有趣–那么这肯定值得一读。

>> Email: how to be polite and efficient [lemire.me]

The more email I get, the more I think that writing good email is a black art. This quick writeup has some useful rules to live by when writing that email.

我收到的电子邮件越多,我就越觉得写好电子邮件是一门黑色艺术。这篇快速写的文章有一些有用的规则,在写邮件时要遵守。

>> Applied Consultant Taxonomy to Prevent Confusion [daedtech.com]

More nuanced and practical examples of how scoping and defining different roles is important, and “consultant” really isn’t enough.

更多细微和实用的例子,说明确定不同角色的范围和定义是很重要的,而“顾问 “真的不够

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> I’ll sweet your dumb tweets off to the side [dilbert.com]

>> Buy our monthly subscription or I’ll send your browser history to your contacts [dilbert.com]

>> Should have kept that thought bottled up [dilbert.com]

5. Pick of the Week

5 本周精选

>> Hacking is Important [medium.com]