How to start/stop Servers and ServerGroups from the CLI

Here is a quick tip: How to start or stop all servers belonging to a WildFly Server Group using the Command Line Interface. Connect to the Command Line Interface: $ ./jboss-cli.sh -c Now in order to stop all server groups in “main-server-group”: /server-group=main-server-group:stop-servers Conversely, to start all server groups in the “main-server-group”_ /server-group=main-server-group:start-servers On the … Read more

Categories CLI

How to schedule EJB automatic Timers

Automatic timers are created by the EJB container when an enterprise bean that contains methods annotated with the @Schedule or @Schedules annotations is deployed. An enterprise bean can have multiple automatic timeout methods, unlike a programmatic timer, which allows only one method annotated with the @Timeout annotation in the enterprise bean class. Automatic timers can … Read more

How to deploy Java Web Start Applications on JBoss

INFO: Java Web Start (JWS) was deprecated in Java 9, and starting with Java 11, Oracle removed JWS from their JDK distributions. This means that clients that have the latest version of Java installed can no longer use JWS-based applications. And since public support of Java 8 has ended in Q2/2019, companies no longer get … Read more

Clustering EJB 3 with JBoss AS

Please note: This tutorial has been written for JBoss EAP 5/6 and early versions of WildFly. The current version of WildFly or JBoss EAP 7 no longer requires you to enable the clustering behavior. By default, if the server is started using the “ha” or “full-ha”, the state of SFSBs will be replicated automatically and … Read more

JBoss MBeans POJO

UPDATE: This tutorial has been written for JBoss AS 5. MBeans POJO are not available anymore in WildFly application server. Their main purpose was to create Singleton-like behaviour in applications. You can replace them with EJB Singleton. Read this tutorial to learn more: Singleton EJB tutorial JMX MBean services are the core building blocks of … Read more

Developing MDB with WildFly / JBoss EAP

MDB are a type of Enterprise Beans that are able to asynchronously deliver messages sent by any JMS producer. In this tutorial we wil learn how to develop and deploy a Message Driven Bean on the top of WildFly Application Server or JBoss EAP.

Read more

How to migrate Thorntail applications

As you probably known, the Thorntail project has come to an end of life. In this article we will learn how to move your project to a suitable Enterprise environment. First of all, what does it mean the End of Life for Thorntail? In short, there won’t be new releases after the 2.7.0.Final. There might … Read more

How to send messages from ActiveMQ Artemis Web console

This tutorial will teach you how to send JMS messages from the ActiveMQ Artemis console. So, the requirement is to install ActiveMQ Artemis as discussed in this tutorial: Getting started with ActiveMQ Artemis Next, log into the console which is available at: http://localhost:8161 From there, there are at least two ays to send a JMS … Read more