Java Weekly, Issue 194
Lots of interesting writeups on Java 9 this week.
Here we go…
1. Spring and Java
===== >> Five Command Line Options To Hack The Java 9 Module System [blog.codefx.org]
Java 9 will be out in a week – this is the right time to get to know the JPMS better.
>> Flavors of Spring application context configuration [blog.frankel.ch]
There multiple ways of configuring a Spring context – some can (maybe even should) involve Groovy and Kotlin.
>> JUnit 5 Tutorial: Writing Our First Test Class [petrikainulainen.net]
JUnit 5 has just been released – time to start putting it to work.
>> Fixed-rate vs. fixed-delay – RxJava FAQ [nurkiewicz.com]
A very interesting write-up about simulating scheduleAtFixedRate and scheduleWithFixedDelay with RxJava.
>> Code Smells: If Statements [blog.jetbrains.com]
Using an if statement can be both good practice – as well as a code smell – it’s important to know when to use it.
>> Lombok – You Should Definitely Give It A Try [blog.codeleak.pl]
Lombok is a great tool that can bring some fresh breath to Java and make some boilerplate go away.
>> Idiomatic concurrency: flatMap() vs. parallel() – RxJava FAQ [nurkiewicz.com]
It’s important to know the semantics of tools we’re using – otherwise, for example, we might end up with unintentional sequential processing where parallel was expected.
Also worth reading:
-
===== >> The Ceylon Language Is Now Eclipse Ceylon [infoq.com]
-
===== >> Java EE Security API (JSR-375) Approved [infoq.com]
-
===== >> How to mix Java and Kotlin within one Spring Boot Application [blog.codecentric.de]
-
===== >> Struts Flaw Behind Equifax Breach Disclosed and Patched in March [infoq.com]
-
===== >> Opening Up Java EE – An Update [blogs.oracle.com]
-
===== >> Modern TDD-oriented Java 8 JUnit test template for Idea (with Mockito and AssertJ) [solidsoft.wordpress.com]
-
===== >> The Need for Speed, Access Existing Data 1,000x Faster [minborgsjavapot.blogspot.com]
-
===== >> Maintaining PriorityQueue Order with Java Streams [4comprehension.com]
Webinars and presentations:
-
===== >> Oct 4 – Getting Reactive with Spring Framework 5.0’s GA Release Webinar [content.pivotal.io]
Time to upgrade:
-
===== >> Spring Framework 5.0 RC4 available now [spring.io]
-
===== >> Spring Framework 4.3.11 available now [spring.io]
-
===== >> Spring Boot 1.5.7 available now [spring.io]
-
===== >> JUnit 5 User Guide [junit.org]
-
===== >> EasyMock 3.5 is out! [blog.tremblay.pro]
-
===== > Hibernate ORM 5.2.11.Final released [in.relation.to]
-
===== >> Spring Data Ingalls SR7 and Kay RC3 released [spring.io]
-
===== >> 2.10.0 (2017-09-08) published to JCenter/Maven Central [github.com]
-
===== >> What’s New in IntelliJ IDEA 2017.3 EAP? [blog.jetbrains.com]
2. Technical
===== >> NoSQL Options for Java Developers [developer.okta.com]
A comprehensive guide to NoSQL from the non-technical viewpoint ?
>> Traefik – The modern reverse proxy [blog.codecentric.de]
A cool proxy solution I didn’t know about until this writeup.
Also worth reading:
-
===== >> New Network Load Balancer – Effortless Scaling to Millions of Requests per Second [aws.amazon.com]
-
===== >> Branching strategy of the Spring Data projects [blog.schauderhaft.de]
-
===== >> Intro to undo branches in Vim [advancedweb.hu]
3. Musings
===== >> What Problems Do Microservices Solve? [daedtech.com]
Microservices are not silver bullets – they should be used when you need them and not because you want them.
Also worth reading:
-
===== >> Yarn 1.0 Adds Workspaces, Auto-Merge and Selective Version Resolution [infoq.com]
-
===== >> Pairing With Developers: A Guide For Testers [dojo.ministryoftesting.com]
-
===== >> Pair Programming Benefits: The Business Rationale [daedtech.com]
4. Comics
>> A New Employee [dilbert.com]
>> All Robots Quit [dilbert.com]
>> Pat Yourself On The Head [dilbert.com]
5. Pick of the Week
===== >> Understanding, Accepting and Leveraging Optional in Java [stackify.com]