In some cases it may be necessary to redirect your incoming HTTP traffic to HTTPS to ensure that your connection is encrypted. Let’s see what changes are required in your Undertow configuration to allow automatic redirection from HTTP to HTTPS.
F.Marchioni
Configuring Strict Transport Security (HSTS) on WildFly
HSTS stands for HTTP Strict Transport Security. It is a method used by websites to declare that they should only be accessible using a secure connection (HTTPS). If a website declares an HSTS policy, the browser should reject all HTTP connections and prevent users from accepting insecure SSL certificates. In this tutorial we will learn how to configure in on WildFly Web server.
How to disable passivation for SFSB in WildFly
When a Stateful Bean is experiencing a period of inactivity, the EJB container maydecide to remove it from memory temporarily. This process is called passivation. Most of thestate of the EJB is saved automatically except for transient fields. When the EJB is restored,the stateless EJB has its original content except for the transient fields. Passivation … Read more
Configure jBPM to send mail
This is an updated tutorial which discusses how to send a Mail from within a jBPM Process.
If you are running jBPM 6 / 7, the simplest way to send a Mail from your BPM process is to use the org.jbpm.process.workitem.email.EmailWorkItemHandler..
EJB 3 tutorial : Session Beans
Enterprise JavaBeans (EJB) technology is an Enterprise technology for developing business components in a component-based, enterprise Java application. EJB technology is generally viewed as powerful and sophisticated. The technology helps developers build business applications that meet the heavy-duty needs of an enterprise. In particular, applications built using EJB and other Enterprise technologies are secure, scale … Read more
How to manage tmp and data folder in WildFly
WildFly / JBoss EAP application storage is contained under each server installation. For standalone mode that means:
standalone/ ├── configuration ├── data ├── deployments ├── lib ├── log └── tmp
As you start deploying applications, you will see that the folders “data”, “log” and “tmp” start growing. In this tutorial we will learn how to manage the storage of the application server and which files or folders are safe to be deleted.
Connecting WildFly to a remote Artemis MQ broker using SSL
In this article we have covered how to connect WildFly to a remote ArtemisMQ Server with no encryption of data. Let’s see how we can secure the communication between WildFly and Artemis MQ. Configuring SSL on Artemis MQ We will configure at first SSL on the broker side. Within the broker.xml configuration file, we need … Read more
JBoss Clustering a Web Application
This article discusses the required steps to cluster a Web application using WildFly application server and the older server releases (JBoss AS 5). Clustering allows us to run an applications on several parallel servers (a.k.a cluster nodes). The load is distributed across different servers, and even if any of the servers fails, the application is … Read more
Infinispan REST API made simple
Infinispan servers provide RESTful HTTP access to data via a REST module built on Netty. In this tutorial we will learn how to use it to manage Cache data with regards to all major Infinispan versions starting from the latest version. Using Infinispan REST API (latest version) REST endpoints listen on port 11222 by default. … Read more
Configuring jBPM to use MySQL as Database
This tutorial discusses how to configure jBPM to use MySQL as database to store process data. jBPM out of the box uses H2 database to store the state of processes using a file located under $JBOSS_HOME/standalone/data/jbpm-db. In order to switch to another database, you can use any of the following scripts which are available in … Read more