Expose EJB 3 as Web Services

Starting with Java EE 7, JAX-WS 2.2 is the standard specification for SOAP web services on the Java EE platform. Developing SOAP-based web services using JAX-WS is straightforward and easy. By using annotations, a web service can be written and deployed within minutes.  Enhancing support for Web services is a driving force introduced since the … Read more

Java EE example application on Openshift

In this tutorial we will learn how to deploy a Java EE application on WildFly Container image running on the top of OpenShift Container Platform using OKD. First of all, you need an OpenShift Container Platform cluster available. We suggest you having a look at the following article to learn how to install the Community … Read more

Securing JAX-RS Services in WildFly applications

In this tutorial we will learn how to secure a JAX-RS Service using an Elytron File System Realm, restricting access to methods using javax.annotation.security annotations. This example will be deployed on WildFly application server so, in order to get started, download the latest WildFly release from http://www.wildfly.org In order to get started we will at … Read more

Microprofile Metrics using WildFly application Server

In the second tutorial about monitoring WildFly we will learn how to collect application metrics by applying MicroProfile Metrics API  that will show up in WildFly 15 and above. So in the first article Monitoring WildFly with Prometheus we have learned how to install and configure Prometheus so that WildFly metrics can be captured. In order … Read more

JBoss remoting Callbacks

Please note: This tutorial is based on JBoss Remoting version 2. This version is now obsolete. To learn more about the status of JBoss Remoting project, check this article: JBoss remoting tutorial In the first tutorial we’ve seen how a client-server application can be written using jboss remoting. Now we’ll see how the client can … Read more

How to customize WildFly applications on Openshift

In this tutorial Java EE example application on Openshift we have deployed a sample Java EE application using a database on Openshift. We will explore now other possibilities such as running CLI commands as part of the Vuild process and include a set of custom modules and finally we will learn how to add artifacts … Read more

Getting started with Java-based Machine Learning Libraries

There are over 70 Java-based open source machine learning projects listed on the MLOSS.org website, and probably many more unlisted projects live at university servers, GitHub, or Bitbucket. In this article, we will review the major libraries and platforms, the kind of problems they can solve, the algorithms they support, and the kind of data they can work with. … Read more

Package your Primefaces application in a JAR with Thorntail

IMPORTANT: The Thorntail project (formerly known as WildFly Swarm) has reached End Of Life. The last announced release is the 2.7.0. You are recommended to evaluate a migration plan for your applications. Here are some useful resources for your migration plan: Migrating your Thorntail application: How to migrate Thorntail applications How to run a Primefaces … Read more

JBoss Remoting tutorial

JBoss Remoting is a project which provides the ability for making synchronous and asynchronous remote calls, push and pull callbacks, and automatic discovery of remoting servers. As a matter of fact, JBoss Remoting provides the basis for more complex and heavyweight remoting frameworks such as Enterprise Java Beans. The version 2 of JBossRemoting is available … Read more

Installing Drools plugin on Eclipse

In order to design your Drools or BPM Rules you have two main alternatives: Install the Drools Plugin for Eclipse (available as part of Red Hat Integration Stack for Eclipse) Install the Business Central Workbench and design your Rules/Processes in its Web application as discussed in this tutorial: Getting started with jBPM Business Central Here … Read more