Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
When we want to copy an object in Java, there are two possibilities that we need to consider - a shallow copy and a deep copy. You will see a comparison between these two approaches and learn four methods to implement the deep copy.
#java #junior
http://www.baeldung.com/java-deep-copy
We are continuing with Spring Cloud Contract - this time focusing on support for Pact and especially the ability to connect to a Pact broker. The Pact broker acts as a repository for sharing the Pact contracts and verification results.
#spring #architecture #middle
https://ordina-jworks.github.io/spring/2018/04/28/Spring-Cloud-Contract-meet-Pact.html
Oracle's change to a six-month release cadence can make it difficult to keep up with the current state of Java, but this comprehensive guide will help you catch up and prepare for the future with updates on Java 9 and 10 releases, what’s new with Java EE, and an exploration into null-safety in Kotlin and Java.
#java #news #magazine
https://dzone.com/guides/java-features-improvements-amp-updates?oid=18jsfb
It is quite easy to find articles about “how to create gradle custom tasks”, “how to structure gradle build files” etc. But not very common to find articles about how Gradle really works under the hood. In this article, the author focuses on a small part of the “dark side” of Gradle: the build lifecycle.
#gradle #junior #middle
https://proandroiddev.com/understanding-gradle-the-build-lifecycle-5118c1da613f
This article presents a way to structure a Spring Boot application in vertical modules and horizontal layers and shows you how to test the verticals and layers with the testing features provided by Spring Boot.
#java #testing #spring #springboot #junior #middle #senior
https://reflectoring.io/testing-verticals-and-layers-spring-boot/
Kotlin is popular, Kotlin is trendy. Kotlin gives you compile-time null-safety and less boilerplate. But is Kotlin better than Java? Check this interesting story of a project being written twice with a lot of evident examples and consider keeping them in mind.
#java #kotlin #middle
https://allegro.tech/2018/05/From-Java-to-Kotlin-and-Back-Again.html
Java EE 8 has been released and its release includes a significant amount of changes relevant to server-side Java developers. Take a look at the new tools that came with it, see how the transition to Jakarta EE is going, and what the future of enterprise Java holds for you.
#java #middle #senior
https://dzone.com/articles/java-ee-8-and-the-open-future-of-java-ee
Together with the growing popularity of microservices and light-weight REST API, we are witnessing another trend in Java: the rise of Java Microframeworks. Javalin, Micronaut, Spark and many more make building REST APIs a breeze. In this article, the author looks at this exciting space and shares his opinions on their use.
#java
https://www.e4developer.com/2018/06/02/the-rise-of-java-microframeworks/
Java 11 will soon be upon us in a few months. Let's take a look at some of the upcoming API Methods. Additionally you can check which methods have been removed from Thread class in JDK 11.
#java #java11
https://dzone.com/articles/api-updates-in-java-se-11-189
Wondering about the memory impact of your Java collections? To put it differently: if your Java application crashed with the infamous OutOfMemoryError or experienced long GC pauses — did you check its collections for memory waste? Here's how to think about your collections while keeping overhead in mind.
#java #collections #middle #senior
https://dzone.com/articles/preventing-your-java-collections-from-wasting-memo
Java 10 brings with it a host of changes and new features, but also some items to watch out for. In this article, you will go over some key ones and understand their impact on your code.
#java #middle #senior
https://dzone.com/articles/jdk-10-pitfalls-for-the-unwary
Struggling to make your Java application Cloud Native? In this article you can trace some really good advices to decrease memory footprint, improve startup time and in general, create an optimized Docker image using module system step-by-step.
#java #docker #cloud #middle #senior
https://medium.com/criciumadev/create-a-cloud-native-image-using-java-modules-a670be616b29