Java
-
Java 8 to 18: Most important changes in the Java Platform
Java 8 launched in March of 2014, Java 18 in March of 2022. There are 8 years of progress, 203 JDK Enhancement Proposals (JEPs), between...
-
Job Opportunity: Java VM Runtime Engineer
The Java Virtual Machine Runtime Team is responsible for the development and maintenance of the virtual execution environment running the...
-
G1 Pre-Barrier Implementation
G1 uses two kinds of barriers to maintain certain GC invariants, pre-barrier and post-barrier. This article focuses on the pre-barrier and see its...
-
String Templates, JavaFX 19, Deserialization, and more at JavaOne - Inside Java Newscast #32
String templates make it easy and safe to embed variables and expressions in strings; JavaFX 19 comes with many improvements, chief among...
-
Working with Modifiers in Java
In this programming tutorial, we will take a look at how to work with modifiers in Java. Modifiers in Java are keywords used to change the...
-
Polymorphism in Java
A key concept of object-oriented programming (OOP) is polymorphism , which enables developers to write code that can work differently based on...
-
How to work with Constructors in Java
In any object-oriented language, programmers can define classes and create objects. In these scenarios, a class member needs a way to be...
-
Working with Private Interface Methods in Java
An interface is a contract that defines a set of methods and their signatures. It can be extended by any class and its methods implemented in...
-
How to Use Password Fields in Java
A password field is a text component used to input a password. This Java Swing component allows a user to input their password while shielding...
-
How to Use Buttons in Java Applications
A button is a Swing component in Java that is usually used to register some action from a user. The action comes in the form of a button being...
-
Working with Functional Interfaces in Java
An interface is a contract that defines a set of methods and their signatures. Any class can extend this interface and implement the methods...
-
Spring Cloud Features and Components
Learn about the Spring cloud modules that help in implementing 12-Factor design patterns in Spring cloud based microservices development. The...
-
XmlAssert – AssertJ Assertions for XmlUnit
This XmlAssert tutorial teaches to create different types of XML sources and assert two XML documents for identical, similar and node values using...
-
Java Collections.synchronizedMap() vs ConcurrentHashMap
Collections.synchronizedMap() provides serial access to the backing Map, and ConcurrentHashMap is a thread-safe alternative to HashMap. The post...
-
XmlUnit Tutorial with Examples
In XmlUnit 2.x tutorial, learn to create different XML sources, normalizing with decorators and comparing for identical, similar and XPaths. The...
-
Guide to JSONassert (with Examples)
Learn to write test result assertions using the JSONassert with easy-to-understand examples. We can use this tutorial as JSONassert cookbook for...
-
Jackson – Ignoring Null, Empty and Absent Values
Learn to ignore the null, empty and absent values during serialization with Jackson using the @JsonInclude as well as SerializationInclusion....
-
Remove Docker Containers by Id, Name or Date
This docker tutorial explains the useful commands to remove a single or all running or stopped containers by id, name or date ranges. The post...
-
Jackson – Custom Serializer and Deserializer
Learn to create custom Jackson serializers and deserializers, register using the SimpleModule as well as @JsonSerialize and @JsonDeserialize....
-
Jackson – Converting between XML and JSON
Learn to convert between JSON and XML strings using Jackson's JsonMapper and XmlMapper using simple POJO, JsonNode and ObjectNode classes. The...
-
Jackson – Serialize and Deserialize Dates
By default, Jackson serializes the Dates in numeric format. Learn to customize the serialization and deserialization of date and time types in...
-
Docker – Setting Memory And CPU Limits
This tutorial will discuss how to set memory and CPU limits in Docker to mitigate the noisy neighbor situation. The post Docker – Setting...
-
Guide to Java HashMap
HashMap in Java is a collection class that implements the Map interface. A Map is used to store key & value pairs where each key is mapped to...
-
Guide to Java Concurrency
The backbone of Java concurrency are threads. A thread is a lightweight process with its own call stack but can access shared data of others....
-
Getting Started with Java Collections
A collection is a group of objects. Java Collections framework consists of classes and interfaces to work with lists, sets, maps and queues. The...