One of the key features of WildFly is its support for environment variables, which allow you to dynamically configure your application server based on the environment in which it is running. In this tutorial, we will go through the steps required to use environment variables in WildFly configuration files like standalone.xml or host.xml.
F.Marchioni
Java Structured Concurrency in practice
Structured concurrency (JEP 453) is a method of organizing concurrent programming in a way that maintains the relationship between tasks and subtasks. This approach aims to make concurrent code more readable, maintainable, and reliable. In structured concurrency, tasks and their subtasks have well-defined entry and exit points. This creates a clear structure similar to how structured programming works in a single thread.
How to create an EJB Startup Service
In this tutorial, we’ll explore how to use the @Startup and @Singleton annotations in Jakarta EE applications. These annotations allow us to initialize components during application startup and ensure that they are available throughout the application’s lifecycle. We’ll cover the basics of each annotation, how to use them together, and provide examples to illustrate their usage.
How to audit WildFly commands
Keeping your WildFly system secure often requires tracing commands sent across the native management interface. In this article we will learn how to enable auditing of CLI commands with WildFly in just a minute.
How to Configure Level 2 Cache in JPA Applications
In this updated article we will learn how to configure Hibernate Second Level Caches with Jakarta Persistence API to optimize database interactions. The primary objective is to minimize the frequency of database hits by strategically implementing caching mechanisms for both entities and queries within the context of the Jakarta Persistence API. Besides, we will also learn how to monitor Caches using WildFly management tools.
Ansible Playbook Example for beginners
Ansible is a powerful open-source automation tool that allows you to configure and manage servers. Playbooks are a key component of Ansible, allowing you to define tasks and configurations in a declarative way. In this tutorial, we will create a basic Ansible playbook example to demonstrate its usage. Our playbook will create a text file … Read more
Solving SQLException: This connection has been closed
This article discusses the causes and the solution for the error “SQLException: This connection has been closed“. that can happen when using a Java Connection to the Database that is no longer active.
How to store JSON Data with JPA and Hibernate
Several databases provide varying levels of support for JSON data, including storage, indexing, querying, and manipulation capabilities. In this article we will explore how to insert and fetch JSON Data using Jakarta Persistence API and WildFly.
JBang Cheatsheet (2024) for Java Developers
Welcome to the JBang Cheatsheet, your comprehensive guide to mastering this powerful tool for rapid Java development. JBang eliminates the need for complex setup and repetitive configuration, allowing you to focus on writing code and exploring new Java projects. Whether you’re a seasoned Java developer or just starting out, this cheatsheet will equip you with the knowledge and skills to leverage JBang‘s capabilities and accelerate your Java development journey.
Quarkus vs WildFly Application Server
This article provides a comparison of the features of two popular Java Enterprise Runtimes: WildFly Application Server and Quarkus framework. While both offer robust support for Java applications, their distinct approaches to development, deployment, and scalability cater to diverse use cases. Comparing Quarkus and WildFly. Fair comparison ? Firslty a disclaimer note: Comparing WildFly, a … Read more