Configuring Single Signon on JBoss AS 7

This tutorial describes how to configure Single Signon for a JBoss AS 7 Web application (standalone and clustered).  The Single Signon configuration allows a centralized login configuration for corporate sites that use different Web context. In order to cofigure single signon on JBoss AS 7 we need to operate on two configuration points: The web subsystem … Read more

How to create time based rules

In this tutorial we will learn how to create time based rules using Drools rules engine. When combined with a timer, a Drools rule can be an useful option, to monitor some attributes and perform some actions accordingly.  Let’s see at first an example of Drools rules  which can be activated on a timer configuration: … Read more

Configuring JBoss with PicketBox LDAP Module

In this tutorial we will show how to connect WildFly / JBoss EAP to OpenLDAP directory service using PicketBox Security Framework. For a more recent configuration (using Elytron) we recommend checking this article: How to configure an Elytron LDAP Realm on WildFly Installing LDAP OpenLDAP is a free suite of client and server tools that … Read more

Integrate JRebel with JBoss

In this tutorial we will show how to integrate and test JRebel Eclipse plugin with JBoss AS 7.1.1 platform. For those who have never heard about it, JRebel is a JVM-plugin that makes it possible for Java developers to instantly see any code change made to an app without redeploying. JRebel lets you see code … Read more

JSF custom tags using Java classes

This is the second tutorial about creating JSF custom tags. In this one we will show how to create Java based JSF custom tags. Creating a custom Java based JSF tag in the early JSF 1.2 specification required pretty a lot of work and several configuration files to be handled. We will now show how … Read more

Categories JSF

JSF custom tag tutorial

In this tutorial we will show how to create JSF custom tags based on content defined in an XHTML page. Creating custom JSF tags can be done either by means of Java classes implementing the UIComponentBase interface or by means of XHTML code fragments. In this tutorial we will show the latter option. Creating a … Read more

Categories JSF

JBoss Operation Network (JON) installation tutorial

In this tutorial we will learn how to install JBoss Operation Network (JON) which provides centralized control, configuration, and visibility to JBoss applications and related infrastructure. JBoss Operation Network is part of RedHat subscription, however you can download a trial version at https://access.redhat.com/downloads#eval Unpack the JON server into a folder of your like: jar xvf … Read more

Solving the @Resource lookup compilation issue

One common issue that Java EE 6 developers meet is the use of the @Resource annotation which conflicts with the JDK built-in  @javax.annotation.Resource. Here we will show how to solve the compilation issue in Eclipse and Maven. If you have a look at the @Resource annotation included in Java EE 6, it includes  the lookup … Read more