Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Another amazing article covering JUnit 5. It is time getting to know the test lifecycle, assertions, and assumptions as well as some more advanced features like test interfaces, disabled, tagged, nested, and parameterized tests. Don't miss it!
#java #testing #junit #middle
https://blog.codefx.org/libraries/junit-5-basics/
Java 11 that has recently been feature frozen includes several really great features, one in particular we’d like to highlight. The release contains a brand new Garbage Collector, ZGC, which is being developed by Oracle that promises very low pause times on multi-terabyte heaps. This article covers the motivation for a new GC, a technical overview and some of the exciting possibilities ZGC opens up.
#java #java11 #gc #middle #senior
https://www.opsian.com/blog/javas-new-zgc-is-very-exciting/
So you want to migrate to Java 11 but your Maven project is still sitting on Java 8? You don't care much about the new module system (Jigsaw) introduced in Java 9, you just want your application to run on the latest JDK version? Then this guide is for you.
#java #java11 #maven #migration #middle #senior
https://winterbe.com/posts/2018/08/29/migrate-maven-projects-to-java-11-jigsaw/
Although the concept of the Test Pyramid has been around for a while, teams still struggle to put it into practice properly. This article revisits the original concept of the Test Pyramid and shows how you can put this into practice. Check it out!
#testing #architecture #middle #senior
https://martinfowler.com/articles/practical-test-pyramid.html
Interesting releases:
#releases

WildFly 14 is out! It is Java EE8 Certified and comes with MicroProfile support, High Performance Connection Pool and Mod-Cluster Multiplicity. For full release notes check this link.
http://wildfly.org/news/2018/08/30/WildFly14-Final-Released/

In the 1.8.x series, SLF4J has been modularized per JPMS/Jigsaw specification. Moreover, slf4j-api now relies on the ServiceLoader mechanism to find its logging backend. ServiceLoader is available in Java 6 and later.
https://www.slf4j.org/news.html

JUnit 5.3 has been released. It features Parallel test execution, output capture for System.out and System.err, new TestInstanceFactory extension API, custom test sources for dynamic tests and more.
https://junit.org/junit5/docs/5.3.0/release-notes/
This article is for junior developers who do not want to copy-paste their code over and over again for different cases. Understanding the subtyping in java will help you build more flexible software architecture. Check it out!
#java #oop #junior
https://medium.com/@tarashor/polymorphism-using-generics-in-java-9d16cf2e0f74
When breaking monoliths into smaller services, the hardest part is actually breaking up the data that lives in the database of the monolith. To extract a data-rich service, it is useful to follow a series of steps which retain a single write-copy of the data at all times.
#architecture #middle #senior
https://martinfowler.com/articles/extract-data-rich-service.html
Sooner or later, every Java application needs logging. No matter what you want to do, you’ll need to make sure to have an appropriate logging library and then configure and use it correctly. A developer should have a rough understanding of why there are that many logging libraries available out there and when to use which option. Let’s find out.
#java #logging #middle
https://www.marcobehler.com/guides/a-guide-to-logging-in-java
There is probably a bunch of Java libraries and frameworks in your list when starting a microservice architecture implementation. With this tutorial you will go through the most popular and battle-tested ones that can certainly suit your specific needs.
#java #architecture #microservices #middle #senior
https://www.javacodegeeks.com/2018/09/microservices-java-developers-java-jvm-landscape.html
Spring Framework 5.1 requires JDK 8 or higher and specifically supports JDK 11 as the next long-term support release. It comes with initial refinements for GraalVM compatibility and deeply integrates with the recently released Reactor Californium and Hibernate ORM 5.3. Try it out!
#spring #releases
https://spring.io/blog/2018/09/21/spring-framework-5-1-goes-ga
New official Java Magazine from Oracle!
Ready to dive deeply into Java and JVM once again with Java Magazine? Explore the contents of its latest issue as it includes tutorials on new technologies, investigations of alternative JVM languages, explanations of important tools, and lots of advice on coding.
#java #magazine #news
https://www.oracle.com/technetwork/java/javamagazine/index.html
Using Docker containers makes for an incredibly easy way to roll out apps and services onto your network.
The author shares his experience with containers and some pretty neat ways to make them faster running.
#java #containers #docker #middle #senior
https://whitfin.io/speeding-up-maven-docker-builds/
Even though released only in 2014, Spring Boot has managed to overtake the Java serverside in less than five years. When starting a new project, a sensible question to ask is- “should I use a Spring Boot?”. This article will help you answer this question!
#spring #springboot #junior #middle
https://www.e4developer.com/2018/09/24/should-you-use-spring-boot-in-your-project/