Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
A CI/CD Pipeline implementation, or Continuous Integration/Continuous Deployment, is the backbone of the modern DevOps environment. In this article, you will see explained what a CI/CD pipeline is and how it works.
#CI_CD #devops #jenkins #middle
https://dzone.com/articles/learn-how-to-setup-a-cicd-pipeline-from-scratch
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