Explore different ways to override the system time for testing.
Category: Articles
Troubleshooting Problems With Native (Off-Heap) Memory in Java Applications – DZone Java
This tutorial demonstrates troubleshooting methods for Native Memory in Java apps, including I/O threads, OutOfMemoryError, Native memory tracking, and more.
Learn Kubernetes from a DevOps guru (Kubernetes + Docker)
Master Kubernetes to deploy, manage, and scale robust, performant, and reliable containerized applications with ease
How to Use JShell in Java 9 – DZone Java
This tutorial shows how to use the fundamental commands in JShell from Java 9, including assigned and unassigned variables, classes, and if and for loops.
Is JavaScript still relevant? – JAXenter
In this article, Shusetsu Toda of Lisk explains why JavaScript is alive and well and what role it has in blockchain’s journey into the mainstream.
Java XML to String – Write XML Object to File Example – HowToDoInJava
Java examples to read XML file and print XML string to console or write XML to file. 1) Convert XML to String To convert XML object i.e org.w3c.dom.Document into string, you need following classes: javax.xml.transform.Transformer : An instance of this class can transform a source tree into a result tree, using it’s transform() method. javax.xml.transform.TransformerFactory …
Spring Framework Master Class – Beginner to Expert
Learn the magic of Spring Framework in 100 Steps with Spring Boot, Spring JDBC, Spring AOP, JUnit, Mockito and JPA.
How to Use Singleton Design Pattern in Java – DZone Java
This post looks at the different ways to use the singleton design pattern, including the eager initialization, lazy initialization, and enum methods in Java.
2 Books to Prepare Oracle Java Certification Exams – OCA and OCP Java SE 6,7, 8 OCPJP 8
There was a time when Sun Certification was very hot and programmers feel proud of being Sun Certified Java Professional(SCJP). After Oracl…
Moneyball: Data Science in Pure Java With Smile and Tablesaw – DZone AI
This article looks at how to solve a business problem by applying data science. Let’s see how an example of ”making the playoffs” can be solved using data.
How to Use Java Stream Collectors – DZone Java
This post looks at how to use Java Stream collectors, including mapping and joining stream, as well as a helpful example code about average salary.
JDK 11: New Default Collection Method toArray(IntFunction)
The “JDK 11 Early-Access Release Notes” indicate that Early Access Build 20 of JDK 11 incl…
Java 11 Quick Start | PACKT Books
Discover how Java is bringing the latest developments and projects which will help you advance your development with with the language and make your applications leaner and faster.
Java 8 Stream findFirst() vs. findAny() | Baeldung
The article explains the difference between Java 8 Stream findFirst and findAny method, in sequential and parallel scenario.
Java 8 stream Map> sum of values for each key
I am not so familiar with Java 8 (still learning) and looking to see if I could find something equivalent of the below code using streams.The below code mainly tries to get corresponding double v…