Rewrite: a Java EE URL rewriting solution

This tutorial will discuss about a cool open-source project named Rewrite which is an URL-rewriting solution for Servlet, JSF, and Java EE. Rewrite offers powerful configuration, flexible extensions, and framework integration.  In order to experience a basic usage of Rewrite you need to add the rewrite-servlet dependency to your Maven projects. Since we will test … Read more

Using Netbeans and JBoss AS 7

Info: There is a more recent article about NetBeans and WildFly Integration: Configuring NetBeans with WildFly NetBeans IDE is an open-source integrated development environment. NetBeans IDE supports development of all Java application types (Java SE (including JavaFX), Java ME, web, EJB and mobile applications) out of the box. In the last couple of months I’ve … Read more

A Thread pattern for JBoss Enterprise applications

Using Threads in your Enterprise applications has been traditionally discouraged as it might conflict with the Application Server’s own threads. Nevertheless with the introduction of the Asynchronous EJBs it is possible to explore new design patterns which allow managing your thread pool from within the EJB container.    Important notice: this tutorial requires JBoss AS … Read more

Using the Drools Guvnor Repository to store your Rules

Guvnor is the business rules manager included with Drools to manage knowledge and to be a centralized repository for Drools knowledge bases. In this tutorial we will show how to upload and use some rules in its repository. In order to get started you need at first to install the Guvnor repository into JBoss AS … Read more

Securing JBoss applications using the ApplicationRealm

JBoss AS 7 and the EAP 6 provide out of the box a Security Domain which can be used for securing your applications. Let’s see how to use it in a few simple steps. What is JBoss Application Realm? When applications are deployed to the application server they are associated with a security domain within … Read more

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