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

最后修改: 2016年 9月 22日


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.


Here we go…


1. Spring and Java


>> Proposed schedule change for JDK 9 []

This had to go first.


Not entirely unexpected, Java 9 got delayed by 4 months, which places GA in July of next year.

并非完全出乎意料,Java 9被推迟了4个月,这使得GA在明年7月就会出现。

>> Private methods in interfaces in Java 9 []

Java 9 is adding private methods on interfaces. Yes – you read that right ?

Java 9正在增加接口的私有方法。是的–你没看错 ?

>> Java EE 8 Delayed Until End of 2017, Oracle Announces at JavaOne []

More clarity around the schedule and timeline of Java EE 8.

更加明确的是关于Java EE 8的时间表和时间线

>> Feedback needed – Which constraints should be added? []

A very quick survey asking for feedback on the exact constraints that should become part of the new bean validation standard.


Definitely worth voting on if you’re using the standard (and you probably are).


>> How to simplify JPA and Hibernate integration testing using Java 8 lambdas []

Cool to see some Java 8 goodness in Hibernate.

很高兴在Hibernate中看到一些Java 8的优点

>> JHipster 3.7 Tutorial Pt 3: Secure Service Communication Using OAuth2 []

A quick exploration of the new UAA functionality in JHipster – something I’m planning to make time to experiment with as well.


>> Complete Guide: Inheritance strategies with JPA and Hibernate []

A good handle on inheritance strategies is a central aspect of understanding and working with JPA and Hibernate – and this article is a good way to brush up on the fundamentals.


>> JavaOne 2016 – Audience Gets a Glimpse of the Power of JShell []

JShell is one of the features I’m most excited about when Java 9 is going to drop.

JShell是我对Java 9即将发布时最兴奋的功能之一。

>> Resource leakages: command pattern to the rescue []

Look – this isn’t new by any stretch of the imagination. Read it anyways – it might lead to code that behaves better.


>> Oracle Gives NetBeans to the Apache Foundation []

>> Oracle将NetBeans交给了Apache基金会[]

An unexpected move from Oracle, with hopefully positive consequences for the project.


That being said, that may also mean that the current Oracle team will slowly but surely be pulled from the project, which will definitely also have an impact.


Also worth reading:


Webinars and presentations:


Time to upgrade:


2. Musings


>> Are you guilty of over-engineering? []

This write-up is a good example of why TDD is so very useful. Design is the primary reason to do TDD – a design that almost always leads to fewer unnecessary abstractions like the one described here.


>> Old Geek []

It’s always baffling and sad to realize just how different the tech landscape looks over a certain age. It’s really a shame and easy to forget if you’re not there yet.


>> Here’s how broken today’s web will feel in Chrome’s secure-by-default future []

These changes are coming to Chrome (first) sooner rather than later. A bold step in the right direction – and one that’s especially interesting if you own a site.


>> Wherefore Art Thou, Tech Debt? []

A insightful read about how different shops operate and about common patterns across the industry. Clearly a post born out of experience – and a hint of serenity that comes with that experience.


If you’re not doing consulting you’ve definitely seen some of these yourself but likely not all.


>> What 60,000 Customer Searches Taught Us about Logging in JSON []

It’s always fun to read up on how the industry doing logging, and “start logging in JSON now” is a message I fully agree with.


Also worth reading:


3. Comics


And my favorite Dilberts of the week:


>> Is that sarcasm? []

>> When our CEO visits []

>> Productivity went down []

4. Pick of the Week


Petri’s course on testing is 30% off for a few more days, until the first package goes live.


So, right now is a great opportunity to get it, as it’s going to go up in price soon:


>> Get 30% off the “Test with Spring” Course