The Java Keytool is a command line tool that can generate public key / private key pairs and store them in a Java KeyStore file.
Cloud Native and Reactive Microservices on Red Hat OpenShift 4
My colleague Niklas Heidloff has started to create another version of our Cloud Native Starter using a reactive programming model, and he has also written an extensive series of blogs about it star…
Weekly Review: Jakarta EE Ambassadors, Microsoft Blazor, AIOps and more
Every Monday, we take a step back and look at all the cool stuff that went down during the previous week. Let’s see what happened in the Java world.
Top 5 Online Courses to Learn Java 9 and Modules – Best of Lot
A blog about Java, Programming, Algorithms, Data Structure, SQL, Linux, Database, Interview questions, and my personal experience.
Oracle adds cloud data centers in five countries, sets new 2020 target
Oracle Corp said on Monday it had added new cloud computing data centers in five…
Java tuple – Working with tuples in Java – HowToDoInJava
Learn about Java Tuple – a generic data structure and how we can use tuples in a Java. Tuple, by default, are not present in Java so use javatuples library.
Java Nested Classes
This tutorial explains what nested classes are in Java, and how you create your own.
Java Weekly, Issue 318 | Baeldung
A sneak peek at improved Docker support coming to Spring Boot, and a collection of cool plugins for IntelliJ IDEA.
Introduction to Eclipse JKube: Java tooling for Kubernetes and Red Hat OpenShift – Red Hat Developer
We discuss tools that help deploy your Maven applications to Kubernetes and Red Hat OpenShift, and then walk through an example.
Parallel Infinite Java Streams run out of Memory
I’m trying to understand why the following Java program gives an OutOfMemoryError, while the corresponding program without .parallel() doesn’t. System.out.println(Stream .iterate(1…
Enforcing Java Record Invariants With Bean Validation
Record types are one of the most awaited features in Java 14; they promise to “provide a compact syntax for declaring classes which are transparent holders for shallowly immutable data”. One example where records should be beneficial are data transfer objects (DTOs), as e.g. found in the remoting layer of enterprise applications. Typically, certain rules should be applied to the attributes of such DTO, e.g. in terms of allowed values. The goal of this blog post is to explore how such invariants can be enforced on record types, using annotation-based constraints as provided by the Bean Validation API.
Inheritance versus composition: How to choose
Compare two fundamental ways to relate classes, then practice debugging ClassCastExceptions in Java inheritance
10 Examples of ConcurrentHashMap in Java
A blog about Java, Spring, Hibernate, Programming, Algorithms, Data Structure, SQL, Linux, Database, JavaScript, and my personal experience.
Java EE Guardians become Jakarta EE Ambassadors – JAXenter
The community of Enterprise Java supporters formerly known as Java EE Guardians have been undergoing own rebrand – they are now the Jakarta EE Ambassadors.