This is a quick-start guide to introduce the release 5 of the application server. In this article we will cover the basics of the JBoss 5 Kernel, the server file system and the available configurations.
F.Marchioni
Build Java EE Projects with Forge 3
JBoss Forge ships now with the 3.x release which brings several enhancements to the project creator engine. Besides it, the release 3.x has changed the option names syntax a bit, switching to a dashed and lower-cased structure. Let’s see how we can quickly create a project to be deployed on WildFly 10. Starting Forge 3 … Read more
Monitoring WildFly MBeans from the shell
WildFly ships with a powerful Command Line Interface which allows a full management control of the server. If you are using MBeans to capture relevant attributes of the server many options are still available. Besides the UI views which are available in jconsole or jvisualvm, you can use the plain command line to include it … Read more
Richfaces examples
Important notice: Richfaces framework reached End of Life in 2016. Therefore, you cannot expect fixes or enhancements unless you fork the project and upgrade yourself the framework. We recommend reading these guidelines, if you want to modernize your Richfaces application: How to migrate Richfaces Web applications to another Web UI Here’s a good collection of … Read more
Using Java EE Security Manager with WildFly
One feature of Java EE not known by every developer is the Java EE Permission declaration. As a matter of fact, every Java EE product must be now capable of running with a Java security manager that enforces Java security permissions, and that prevents application components from executing operations for which they have not been … Read more
Sending JMS Messages over XA with WildFly – JBoss AS
This short tutorial shows how you can send JMS messages as part of an XA Transaction with JBoss AS / WildFly. Messages running as part of an XA Transaction are coordinated by a Resource Manager along with other resources which are partecipating to the XA Transaction. In order to do that, you need to use … Read more
Configuring jBPM to use PostgreSQL Database
This tutorial discusses how to configure jBPM to use PostgreSQL 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
Configuring Predicates and Exchange with Undertow
Predicates and Exchange attributes are an Undertow component which allow you to manipulate your HTTP request and even make complex decisions on it, without hardcoding this into an Undertow Handler. You can configure Predicates and Exchange attributes through a set of expression filters. The expressions you can use can also be combined with boolean operators … Read more
Using Spring CXF descriptors in WildFly
In some cases, users might still want to consume Spring cxf.xml descriptors. On client side, in order to do that, the Spring libraries need to be available in the current thread classloader. For the Web Services stack to have correct visibility over Spring classes, the Spring libraries need to be properly installed in a specific … Read more
Web services deployment descriptor: jboss-webservices.xml
For those willing to configure a given Web Services endpoint deployment without adding a compile time dependency to WildFly (or Apache CXF) specific classes, the jboss-webservices.xml descriptor can be also used. It needs to be placed either in WEB-INF or META-INF folder of the deployment (depending on it being a war or jar archive) and … Read more