I would like to optimize the below code to take an existing ArrayList and make a new list based on the below logic. Does streaming/lambda in Java 8 make it possible?for (ShipmentTracingDTO traci…
Glassfish 5.1 Release Marks Major Milestone for Java EE Transfer
Today Eclipse GlassFish 5.1 has been released, truly a major milestone. Not just for the GlassFish project itself, but for Java EE and moving Jakarta EE forward even more.
Conversational UI with Oracle Digital Assistant and Fn Project. Part II
In my previous post I implemented a conversational UI for FlexDeploy with Oracle Digital Assistant…
Java State Design Pattern Example
1. Introduction to Java State Design PatternIn this article, we will introduce java state desig…
Build a Java REST API with Java EE and OIDC
“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building …
A hard look at the state of Java modularization
When Jigsaw was released with Java 9, it was the end of a long process – it had been postponed already – and it had to be released. With the coming of Java 11, the latest Long-Term Support, I think it’s a good time to take a snapshot of the state of modularization. I’ll use the Top 20 Libraries and APIs Java Developer should know as a reference, and check for each of them if the latest version: provides an automatic module nameor has a module-info In the first case, the JAR has a
Count all the words in a file using java Streams
I was trying to count the number of unique words in a text file. For the sake of simplicity, my current file content is: This is a sample fileMy attempt is:long wordCount = Files.lines…
Streamline your JBoss EAP dev environment with CodeReady Workspaces
Second half of a walk-through using Red Hat CodeReady Workspaces to develop a Java EE application in the cloud using JBoss EAP. It shows how to configure a workspace, use JBoss EAP for deploying and debugging, and how to create a factory so that the development environment can be shared with others who need to collaborate on the project.
JNoSQL and Jakarta EE – JAXenter
Otávio Santana explores the latest destination for Jakarta EE: JNoSQL, Jakarta EE’s first integration project for Eclipse and NoSQL databases.
Microservices for Java Developers: Testing
1. IntroductionSince Kent Beck coined the idea of test-driven development (TDD) more than a dec…
Spring Data Redis: High-Availability with Sentinel
1. OverviewFor high-availability with Redis, we can use Spring Data Redis’ support for Redis Se…
How to Remove Duplicates from Array Without Using Java Collection API
This is a coding question recently asked to one of my readers in a Java Technical interview. Question was to remove duplicates from an inte…
Project Atlantis Proposed for JDK Performance Monitoring and Analysis Improvement Experimentation
The thread ” Call For Discussion: New Project: Atlantis ” on the OpenJDK discuss mailing list discusses JC Beyler ‘s proposal of an OpenJD…
Tutorial: Create and Verify JWTs in Java
“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building…
Spring Custom Serializers with @JsonIdentityInfo
IntroSerialization/Deserialization from/to JSON in Spring is widely used in modern Spring-based…