Category: JBOSS-FRAMEWORKS
If you’re migrating a Java EE or Jakarta EE project to Java 17 or later, and you’re using Maven 3.8 or newer, you might encounter the following error during a mvn package or mvn install: ” Unable to load the mojo ‘war’ in the plugin ‘org.apache.maven.plugins:maven-war-plugin‘. This issue is often triggered when your project implicitly uses an outdated version of the maven-war-plugin that is incompatible with newer Java versions or Maven APIs.
The beans.xml file is the bean archive descriptor for CDI applications. It can be used for any CDI compliant container, such as Weld which is included in WildFly application server.
JBang is a tool that allows you to run Java applications as easily as scripting languages like Python or Node.js. You don’t need Maven or Gradle setup, just a single .java file with dependency annotations at the top. It’s ideal for:
This article will teach you how to write a simple REST Service that you can run on top of WildFly application server, which uses RESTEasy as underlying JAX-RS implementation.
This tutorial will guide you through the process of integrating Swagger UI into your Jakarta EE project. We will cover the necessary steps to configure Swagger in a Jakarta EE environment, enabling you to automatically generate and serve API documentation for your RESTful services.
This is my Artemis MQ Artemis Cheatsheet which includes some commandline shortcuts you can use to manage your broker as well as producing and consuming messages and checking their status.
Windup is a set of tools that support the migration and modernization of Java applications by producing detailed code analysis, effort estimation and migration steps. In this article, we will show how to produce a migration report for a JBoss EAP 7 application that we want to move to JBoss EAP 8.
In this sample tutorial we will show how to run RESTful Web services on JBoss AS 7 (release 7.0.2) using CDI and JPA to load persistent data.
Discovering the list of available endpoints is crucial to map and troubleshoot REST Applications. This article will teach you three simple strategies to discover WildFly REST Endpoints which are available.
In this tutorial we will learn how to use WildFly Maven archetype to speed up your project creation either from the command line or using an IDE. We will also show how to use the built-in test Classes to test the built-in resources.
This is a two-series article which discusses some simple strategies to generate Random data for your REST Services using some simple tools available from the Linux command line. Also, we will show some minimal tool you can install for a wider variety of choices.
Explore this comprehensive cheatsheet tailored for REST developers seeking a powerful yet straightforward testing tool for their REST services. Discover essential commands and options that elevate your testing capabilities using a versatile tool like curl. Whether you’re a seasoned developer or just getting started, this cheatsheet provides valuable insights to streamline your REST API testing workflow.
This article provides a concise overview of the JBoss and Red Hat repositories, essential tools for building enterprise applications with Maven. By understanding these repositories and their contents, you can easily incorporate JBoss and Red Hat components into your Maven-based projects.
The “Malformed \uxxxx encoding” error in Maven can occur due to corrupted resolver-status.properties files, which are used to cache dependency metadata. These files can become corrupted when multiple Maven processes try to access them simultaneously, leading to data inconsistencies.
/home/francesco/mastertheboss/simply-static-1-1778700701/jboss-frameworks/jboss-maven/run-a-java-class-from-maven-made-simple/index.html
In this tutorial, we will guide you through the process of using the Debezium JDBC Connector to capture changes in a PostgreSQL database and stream them to Apache Kafka. We’ll use Docker to set up a PostgreSQL database, Apache Kafka, and Debezium, creating an end-to-end example.
Debezium is a project built upon Apache Kafka and uses Kafka to stream the changes from one system to another. Once core feature of Debezium is the Change Data Capture which is able to capture data and pushes it into Kafka. In this updated tutorial we will learn how to configure Debezium and Apache Kafka to stream changes in the database.
In this tutorial, we will explore how to run Apache Artemis MQ, a high-performance messaging broker, within a Docker container. By containerizing Artemis MQ, you can easily deploy and manage your messaging infrastructure while leveraging the benefits of isolation, scalability, and portability offered by Docker. Let’s dive into the world of containerized messaging with Artemis MQ!
When working with RESTful web services, it is often useful to be able to trace requests to better understand what is happening. Fortunately, this is relatively easy to do with WildFly and Resteasy. In this article, we will look at how to configure tracing for REST requests using an enhancement available in WildFly 28.
This article discusses a simple strategy to debug the Request and Response from a Jakarta EE Rest Service using Filters and CDI annotations.
This article will teach you how to write an example Java JMS Client for an Artemis MQ server. We will cover both the configuration of the address in Artemis and a simple Java Client.
Resteasy is a popular Java framework for building RESTful web services. One of its features is the ability to cache HTTP responses using the @Cache and @NoCache annotations.
This article discusses the steps to solve the error “org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type” that you can have at runtime in a REST application.
Maven Daemon (mvnd) is a background process that can speed up Maven builds by keeping a daemon process running in the background. This allows Maven to start up faster, as it does not have to initialize the build process from scratch for each build. In this tutorial, we will cover how to install and configure mvnd, as well as how to use it to speed up your Maven builds.
In this tutorial, we will be discussing REST Assured framework to Test JAX-RS Web services. This tutorial is designed for RESTAssured beginners, but even experienced users may find some useful tips and tricks.
The latest release of RESTEasy (6.1.0) provides an implementation for Jakarta RESTful Web Services 3.1. which is a core component of Jakarta EE 10. Let’s review through this article which are the core features of Jakarta Rest Services.
In this short tutorial we will learn how to fix a common error that you can hit when deploying REST Web service that produce or consume JSON content type.
This article will teach you the simplest way to map Date and Time fields in an Entity when the request/response is from a REST Endpoint.
This article is a walk through the available options to perform validation of REST Endpoint parameters using Jakarta EE. We will show both Bean validation and Entity validation of a REST Service endpoint.
In this tutorial we will demonstrate how to use a BASIC authentication in your REST Services using RESTEasy on the backend and the DefaultHttpClient on the client side.
This article is a step by step guide for setting up a remote Infinispan cluster as an HTTP session store for your HTTP Sessions running on WildFly application server. You can carry out equivalent steps to externalize JBoss EAP 7 session on Red Hat Data Grid.
This article introduces you to securing Netty applications using Elytron security framework, which is a core component of WildFly application server.
This article introduces you to an example application which uses RESTEasy Client library to access a remote REST Service.
Have you ever wondered how to run Arquillian Integration tests without leaving your favourite IDE? Then keep reading! For the purpose of this example, we will be using Eclipse, however you can easily adapt it to any other IDE such as Idea or Visual Studio.
This question often arises in forums so let’s discuss here what is the difference between Netty framework and Tomcat Web server.
Netty is a framework which you can add to your developer’s stack to create event based non blocking applications. You can easily adapt it to handle a variety of Protocols. In this tutorial we will show how to create and run a simple HTTP Server with Netty.
In this tutorial we will learn how to use Netty to set up a simple HTTP reverse proxy. We recommend checking this tutorial for an overview of Netty core concepts: Getting started with Netty
Netty is a client/server framework that provides a simplified layer over NIO networking. This makes it a good candidate to create low-level nonblocking network applications.
This article will teach you how to handle Exceptions properly in RESTful Web services using JAX-RS API and some advanced options which are available with RESTEasy and Quarkus runtime.