Home » Java

Java

JSON and XML: How Do They Compare?

java-interview-questions-answers

JSON and XML: How Do They Compare? JSON and XML are two human-readable text formats that have emerged as rivals over the years. XML’s purpose is storing and defining documents and data through the optional use of a schema. JSON was almost the exact opposite – a serialization format with requirements so simple they fit on the back of a ...

Read More »

Data Classes Considered Harmful

This blog post explains the motivation behind removing Project Lombok from one of the projects to which I contribute. It reflects my personal opinion and is not discouraging particular technologies. About three years ago, I got to know Project Lombok, a library that spices up Java code. I liked it from the beginning as it contributes so much useful functionality. ...

Read More »

Signs of JDK 14 Beginning to Appear

JDK 13 is currently in Rampdown Phase 1 (RDP 1), is scheduled to enter Rampdown Phase 2 (RDP 2) in a little over one week (on 18 July 2019), and is tentatively scheduled for General Availability on 17 September 2019. What this means, of course, is that it’s time to start thinking about JDK 14! This post references and summarizes ...

Read More »

Project Valhalla: A First Look at LW2 Inline Types

I summarized some recent Project Valhalla LW2 “inline types” progress that was made public recently in my blog post “Valhalla LW2 Progress – Inline Types.” In this post, I illustrate some of the concepts summarized in that post with code examples executed against recently released Valhalla Early Access Build jdk-14-valhalla+1-8 (2019/7/4). All code examples featured in this post are available ...

Read More »

Valhalla LW2 Progress – Inline Types

There has been significant public-facing progress in the past few weeks (June/July 2019) for Project Valhalla‘s LW2 phase/prototype originally proposed in October 2018. In this post, I briefly summarize some of the messages, documents, and Valhalla Early Access Builds that have been released recently. LW2 is described in the Valhalla Wiki page as an early prototype that “[moves] inline types ...

Read More »

How to Automate an API Security Program Without Adding Staff

java-interview-questions-answers

In this post, we feature a comprehensive article on How to Automate an API Security Program Without Adding Staff. In the modern world, data is important to both the providers as well as the consumers. The emergence of data science certifies this fact. For certain organizations, the entire business model is built on the exchange of information. Let’s take the ...

Read More »

What Does Long-Term Support Mean for OpenJDK?

Bruno Borges recently tweeted a question about long-term support (LTS) of OpenJDK, which shows that there is still some confusion over what this really means.  In this blog post, I’ll explain how the different parts fit together. So… who says, or where it is said, that "#OpenJDK 11" is LTS?I feel there's still confusion regarding LTS definition. Ubuntu has 'openjdk-lts' ...

Read More »