Handling Exceptions in Java is one of the fundamental things a developer should be experienced in. In this blog, the author tries to explain how to handle exceptions according to industry standards, and how not to handle them.
#exceptions #java #junior #middle
https://able.bio/DavidLandup/best-and-worst-java-exception-handling-practices--18h55kh
#exceptions #java #junior #middle
https://able.bio/DavidLandup/best-and-worst-java-exception-handling-practices--18h55kh
Able
Best (and Worst) Java Exception Handling Practices
Handling Exceptions in Java is one of the fundamental things a developer should be experienced in - handling them is as important as the rest of the code, and should never be overlooked or underes...
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
#CI_CD #devops #jenkins #middle
https://dzone.com/articles/learn-how-to-setup-a-cicd-pipeline-from-scratch
DZone
Learn How to Set Up a CI/CD Pipeline From Scratch
Learn to understand continuous integration and delivery, the basis for modern DevOps, and build a CI/CD development pipeline with Jenkins in this tutorial.
Want to learn more about how interfaces have changed over the course of Java's history?
Check out this post on the interface changes over the years.
#java #history
https://dzone.com/articles/evolution-of-interface-in-history-of-java
Check out this post on the interface changes over the years.
#java #history
https://dzone.com/articles/evolution-of-interface-in-history-of-java
dzone.com
Evolution of Interfaces in History of Java - DZone Java
In this tutorial, we present the evolution of interfaces in Java, starting with Java's first release over two decades ago all the way up to Java 9's release.
Logging to files and analyzing them by hand is not the way to go anymore. This article explains the reasons why a log server is the way to go for collecting and analyzing log data.
#logging #architecture #middle #senior
https://reflectoring.io/log-server/
#logging #architecture #middle #senior
https://reflectoring.io/log-server/
reflectoring.io
5 Good Reasons to Use a Log Server
Logging to files and analyzing them by hand is not the way to go anymore. This article explains the reasons why a log server is the way to go for collecting and analyzing log data.
Do you know why you should never use float and double for monetary calculations?
Check out this tutorial to learn more about using BigDecimal.
#java #junior #middle
https://dzone.com/articles/never-use-float-and-double-for-monetary-calculatio
Check out this tutorial to learn more about using BigDecimal.
#java #junior #middle
https://dzone.com/articles/never-use-float-and-double-for-monetary-calculatio
DZone
Why You Should Never Use Float and Double for Monetary Calculations
This tutorial explains why you should never use float or double for making monetary calculations, specifically using BigDecimal for precision requirements.
Want to learn more about using the null object pattern in Java? Check out this tutorial to learn how to use the null object pattern with the optional class!
#java #architecture #junior #middle
https://dzone.com/articles/null-object-pattern-in-java
#java #architecture #junior #middle
https://dzone.com/articles/null-object-pattern-in-java
DZone
Null Object Pattern in Java
In this tutorial, we demonstrate how to use the null object pattern in Java, which depends on the Factory class and Optional class to represent non-null values.
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 #testing #junit #middle
https://blog.codefx.org/libraries/junit-5-basics/
blog@CodeFX
JUnit 5 Basics: @Test, Lifecycle, Assertions, Assumptions, And More - blog@CodeFX
The Basics of JUnit 5: How to use @Test, @BeforeAll, @BeforeEach, @AfterEach, @AfterAll, assertions, and assumptions. How to disable, name, and tag tests.
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/
#java #java11 #gc #middle #senior
https://www.opsian.com/blog/javas-new-zgc-is-very-exciting/
Opsian
Java's new Z Garbage Collector (ZGC) is very exciting
Java 11 features a new Garbage Collector, the Z Garbage Collector (ZGC), which is designed for very low pause times on huge multi-terabyte heaps. In this article we'll cover the motivation for a new GC, a technical overview and some of the really 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/
#java #java11 #maven #migration #middle #senior
https://winterbe.com/posts/2018/08/29/migrate-maven-projects-to-java-11-jigsaw/
Winterbe
Migrate Maven Projects to Java 11
Learn how to migrate Maven projects from Java 8 to 11 (Jigsaw Module System)
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
#testing #architecture #middle #senior
https://martinfowler.com/articles/practical-test-pyramid.html
martinfowler.com
The Practical Test Pyramid
Find out what kinds of automated tests you should implement for your application and learn by examples what these tests could look like.
The next article is about Nested classes. Not everything is always as it seems. Check out this post to find out more about nested classes and private methods.
#java #junior #middle
https://dzone.com/articles/nesting-java-classes
#java #junior #middle
https://dzone.com/articles/nesting-java-classes
dzone.com
Nested Classes in Java - DZone Java
This tutorial demonstrates how to use nested classes and private methods in Java, focusing on changes in JDK 11, as well as hacks from the early days of Java.
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/
#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
#java #oop #junior
https://medium.com/@tarashor/polymorphism-using-generics-in-java-9d16cf2e0f74
Medium
Polymorphism using generics in java.
This article is for junior developers who do not want to copy-paste their code over and over again for different cases.
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
#architecture #middle #senior
https://martinfowler.com/articles/extract-data-rich-service.html
martinfowler.com
How to extract a data-rich service from a monolith
A series of steps for separating part of a monolithic application, with its data store, to an independent service
A deadlock is a situation where two or more threads are waiting for resources acquired by each other. In this article you will find some simple examples of it and understand why this is proved to be one of the biggest programmers’ nightmares.
#multithreading #concurrency #java #junior #middle #senior
https://www.nurkiewicz.com/2018/09/thread-pool-self-induced-deadlocks.html
#multithreading #concurrency #java #junior #middle #senior
https://www.nurkiewicz.com/2018/09/thread-pool-self-induced-deadlocks.html
Around IT In 256 Seconds By Tomasz Nurkiewicz
Thread pool self-induced deadlocks
Podcast for developers, testers, SREs… and their managers. I explain complex and convoluted technologies in a clear way, avoiding buzzwords and hype. Never longer than 4 minutes and 16 seconds.
Check this (part of series) interview with Java influencers. They answer quite interesting questions like will serverless begin a major reshaping of Java and what features we should see in JDK 12. Don’t miss it!
#java #java12 #news #interview
https://jaxenter.com/java-influencers-series-final-part-149208.html
#java #java12 #news #interview
https://jaxenter.com/java-influencers-series-final-part-149208.html
JAXenter
What does it take for Java to compete in the serverless space? - JAXenter
In the last part of the series, we discuss the feature(s) our Java influencers would like to see in JDK 12 & the role of serverless in Java's future.
Great video for beginners with JPA. This amazing lecture rings the curtain up on the details behind JPA and some of its tricky parts. You will learn some useful advices, tips and outcomes you should consider before diving in.
#java #jpa #video #devoxx #junior #middle
https://www.youtube.com/watch?v=EZwpOLCfuq4
#java #jpa #video #devoxx #junior #middle
https://www.youtube.com/watch?v=EZwpOLCfuq4
YouTube
JPA beyond copy paste by Jakub Kubrynski
JPA is the main building block in most Java projects. However, a lot of developers still use it without a deep understanding of the technology, relying mainly on applying the copy-paste methodology from StackOverflow or existing system entities. During this…
Want to learn more about the features available in Spring Boot? Check out this post to learn more about how to use profiles in your Spring Boot application.
#java #spring #springboot #profiling #middle #senior
https://dzone.com/articles/spring-boot-profiles-1
#java #spring #springboot #profiling #middle #senior
https://dzone.com/articles/spring-boot-profiles-1
DZone
How to Use Profiles in Spring Boot
In this post, we take a look at how to use profiles in your Spring Boot application, focusing specifically on defining, maintaining, and implementing profiles.
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
#java #logging #middle
https://www.marcobehler.com/guides/a-guide-to-logging-in-java
Marcobehler
How To Do Logging In Java
You can use this guide to discover, understand and use the right Java logging library for your applications, like Log4j2, Logback, or java.util.logging.
New version of Java (JDK11) has just been released!
#java #java11 #releases #news
http://www.java-countdown.xyz/
http://openjdk.java.net/projects/jdk/11/
http://jdk.java.net/11/
#java #java11 #releases #news
http://www.java-countdown.xyz/
http://openjdk.java.net/projects/jdk/11/
http://jdk.java.net/11/
www.java-countdown.xyz
Countdown to Java 12 Release Date
Countdown to Java 12! Find out how many days are left until Switch Expressions, Raw String Literals, One AArch64 Port, Default CDS Archives, and all the other new features are generally available