JBoss 5 Alarm configuration

Please note: this tutorial has been written for JBoss AS 5 and it’s therefore obsolete. If you want to configure alarms and metrics for WildFly application server we recommend checking this tutorial: Monitoring WildFly with Prometheus An Alarm indicates that an event (generally an error) has happened in the system. In this article we’re going … Read more

IceFaces tutorial for JBoss developers

ICEfaces provides a rich web presentation environment for JavaServer Faces (JSF) applications that enhances the standard JSF framework and lifecycle with Ajax-based interactive features. In this tutorial we will learn how to deploy a simple IceFace application on JBoss 5. The primary goal behind the ICEfaces architecture is to provide the application developers with a … Read more

JBPM 4 tutorial

This tutorial has been written for an old version of jBPM which is now deprecated. If you want to get started quickly with jBPM, we recommend the following quickstarts: jBPM 7 tutorial: getting started with the opensource BPM Developing a jBPM 7 Web application example Design jBPM Processes with Eclipse designer plugin Getting started with … Read more

How to solve Classloader issues in JBoss 4 and 5

By default JBoss 4 and JBoss 5 uses a flat class loading model that avoids the need to redundantly include classes in different layers.  WAR files would only have the web contents and servlets, EJBs their interfaces, implementations and types, etc. From 4.0.2 JBoss has changed to the Servlet spec classloading model, i.e. it uses … Read more

Seam JBPM integration

jBPM provides sophisticated functionality for workflow and task management. In the previous article we’ve exposed a basic introduction to JBPM. This one focus on Seam and JBPM integration. Seam provides two nice additions to JBPM the first one (which this tutorial is about) is a powerful integration between Seam components + JSF and JBPM, the second … Read more

How do I access Request or Session from Seam?

Two ways : 1) Easy way: use ServletContexts.instance().getRequest() in your backing bean. 2) Define a factory in your component descriptor and inject the HttpServletRequest or HttpSession directly into your Seam component. <factory name=”httpRequest”   value=”#{facesContext.externalContext.request}”   auto-create=”true”/> <factory name=”httpSession”   value=”#{facesContext.externalContext.request.session}”   auto-create=”true”/> @In HttpServletRequest httpRequest; @In HttpSession httpSession; If on the other hand you don’t … Read more

Quartz tutorial for JBoss users

Update: Please notice that an updated tutorial about Quartz Scheduler has been published on the following article: Quartz 2 tutorial on JBoss EAP and WildFly Quartz is a full-featured, open source job scheduling service that can be integrated with, or used along side virtually any Java EE or Java SE application – from the smallest … Read more

JBoss Seam tutorial 2

Several Java EE APIs (EJB, JSF, etc.), as well as popular open source frameworks like Spring, make use of the concept of dependency injection. Injection involves the automatic, runtime insertion of a property value into a bean. This simple concept can greatly simplify development, especially in a Java EE environment.   The Seam component model also … Read more