This tutorial demonstrates troubleshooting methods for Native Memory in Java apps, including I/O threads, OutOfMemoryError, Native memory tracking, and more.
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.
Jakarta EE: The new home for enterprise Java – JAXenter
Java EE is on the move. Today, Ian Robinson explains why it made the switch to the Eclipse Foundation and where it is going as Jakarta EE.
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…
Java String to XML – Parse String to XML DOM Example – HowToDoInJava
In Java, XML is represented with org.w3c.dom.Document object. In this XML tutorial, we will learn to – Convert XML string to XML Document Convert XML file content to XML Document 1) Convert String to XML Document To convert XML string to XML Dom, we need following classes: javax.xml.parsers.DocumentBuilder : Defines the API to obtain XML …
How to Manage Dynamism in Java – DZone Java
This tutorial looks at dynamism in Java and how to go about using static typing in different Java use cases, including legacy code and application development.
CloudWatch Event Notifications Using AWS Lambda
A primary use case for CloudWatchEvents is to keep track of changes across an AWS infrastructure. It…
Java Read XML with StAX Parser – Cursor & Iterator API Examples
Learn to parse and read XML file using Java StAX parser. StAX (Streaming API for XML) provides two ways to parse XML i.e. cursor based API and iterator based API. 1) StAX Parser Just like SAX parser, StAX API is designed for parsing XML streams. The difference is: StAX is a “pull” API. SAX is …
Optional.isEmpty() Available in JDK 11 EA Builds
My recently posted question “Optional.isEmpty() Coming to Java?” was prompted by a core-li…
Payara Server Rolling Upgrades
To achieve continuous deployment applications must be deployed early and often. This, in turn, triggers downtime. Rolling upgrades solve this problem in an efficient way!
How to Invoke an External REST API from a Cloud Function
In a previous blog post I showed how to create your first cloud function (plus a video). It’s very l…
Java Convert XML to Properties – Read Properties from XML File – HowToDoInJava
Java example to create .properties file from XML file. This code can be used to read properties key-values from XML file, to be used in the application code. Properties to XML Example To convert XML file into properties file, best way is to use java.util.Properties class. Process is : Load XML file into java.util.Properties class …