java-weekly-217
Java Weekly, Issue 217
Here we go…
1. Spring and Java
Optimize performance with end-to-end tracing and out-of-the-box support for popular Java frameworks, application servers, and databases. Try it free.
>> Package by layer for Spring project is obsolete [lkrnac.net]
In the world of Microservices and DDD, package-by-layer doesn’t seem to make much sense anymore.
>> Designing, Implementing and Using Reactive APIs [infoq.com]
Before pursuing a reactive approach, ensure that going reactive is not introducing unnecessary complexity.
>> Spring Data Projections [blog.sourced-bvba.be]
It turns out we can easily create custom projections with Spring Data. Very nice.
>> JUnit and Cucumber test reports based on source code and behavior [advancedweb.hu]
Detailed failure messages for Java tests and without the use of complex assertion libraries – definitely a cool addition to the JUnit and Cucumber stack.
Also worth reading:
-
===== [.t-bg-white .l-pa2 .l-d-i]#https://www.infoq.com/news/2018/02/SpringBoot2RC1?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=Java[>> Spring Boot 2.0 Nears GA] #[infoq.com]
-
===== >> Composition vs. Inheritance with JPA and Hibernate [thoughts-on-java.org]
-
===== >> How to cache non-existing entity fetch results with JPA and Hibernate [vladmihalcea.com]
-
===== >> Mapping Java 8 Date/Time entity attributes with Hibernate [in.relation.to]
-
===== >> Kotlin’s java.util.Optional API Equivalents [4comprehension.com]
-
===== >> Improve your test structure with Lambdas and Mockito’s Answer [blog.codecentric.de]
-
===== >> Using the Neo4j driver in Spring Boot [adamcowley.co.uk]
-
===== >> Dockerizing a Spring Boot application [bmuschko.com]
-
===== >> First JDK 10 (18.3) Release Candidate (Build 43) Demonstrates New Versioning Scheme [marxsoftware.blogspot.com]
Webinars and presentations:
-
===== >> Reactive Spring [infoq.com]
-
===== >> Spring Tools 4 – Eclipse and Beyond [infoq.com]
-
===== >> The Beginner’s Guide To Spring Cloud [infoq.com]
-
===== >> Spring Cloud Gateway [infoq.com]
Time to upgrade:
-
===== >> Eclipse MicroProfile 1.3 Is Now Available [infoq.com]
-
===== >> Spring Framework 5.0.4 Available Now [spring.io]
-
===== >> Hibernate ORM 5.3.0.CR1 Release [in.relation.to]
-
===== >> JUnit 5.1.0 Release Notes [junit.org]
-
===== >> Apache Tomcat 9.0.5 [tomcat.apache.org]
-
===== >> Hibernate OGM 5.3.0.Final is out [in.relation.to]
-
===== >> Spring Security 5.0.2 Released [spring.io]
-
===== >> Spring Vault 2.0 GA Released [spring.io]
-
===== >> Spring Data Kay SR4 Released [spring.io]
-
===== >> IntelliJ IDEA 2018.1 EAP: Partial GIT commits and more [blog.jetbrains.com]
2. Technical
===== >> The Practical Test Pyramid [martinfowler.com]
Regardless of the type of tests you’re implementing, testing the observable behavior (instead of implementation details) will save a lot of frustration later on.
>> Virtual Panel: Succeeding with Event Sourcing [infoq.com]
Event Sourcing in isolation is definitely useful, but its power and potential are amplified when it’s used to complement a CQRS architecture and Domain Driven Design – it’s important to respect the boundaries of our bounded-contexts.
>> Generic Platform – The Rule of Three [scottlogic.com]
Premature genericisation can contribute to the “legacy code” you have in your system.
>> Model Actions, not Data [amundsen.com]
Relying on your data model as any guide for your API design is almost always a bad idea. Words of wisdom here.
Also worth reading:
-
===== >> Why developers don’t use TDD? [dolszewski.com]
-
===== >> Decoupling security in a clean architecture [blog.sourced-bvba.be]
3. Musings
===== >> Promoting Test Driven Development with a Remote Team [daedtech.com]
Distributed teams can highly benefit from adopting TDD – it’s well worth investing in that adoption.
Also worth reading:
-
===== >> None of My Apple Gear Connects Together, Dammit [zachholman.com]
-
===== >> Minimalism in Programming [pointersgonewild.com]
-
===== >> If You Want to Matter in the Software Industry, Stop Being a Laborer [daedtech.com]
-
===== >> Deciding what features to implement [successfulsoftware.net]
5. Pick of the Week
===== >> The world needs more modest, linear growth companies. Please make some. [m.signalvnoise.com]