Add new users to JBoss WildFly when using WildFly Maven Plugin

When using WildFly Maven Plugin to deploy the application during development, with the basic configuration as in the article Run Java web applications with WildFly Maven Plugin, you will not be able to access the Management Console page of JBoss WildFly located at http://127.0.0.1:9990, to… Read More

ThreadLocal in Java

The ThreadLocal class in Java is a class that allows us to store and retrieve the values of variables in the same thread. As long as it’s the same thread, you can store a value and retrieve it whenever we want. You can initialize objects… Read More

Structured Concurrency in Java

Structured Concurrency in Java is an improvement of Java from Java 19, on implementing and maintaining code related to the execution of tasks consisting of many sub-tasks handled by multi-threading. This improvement makes our code easier to read, and controls how the execution of subtasks… Read More

Convert one object list to another in Typescript

Suppose I have a list of student information as follows:

with the Student class with the following content:

If I now define another class StudentInfo that also contains student information with more information about the class as follows:

To convert the list… Read More