Infinispan tutorial for beginners

Warning: this tutorial has been written for an old version of Infinispan and it’s now obsolete. We recommend to check the following tutorials to get started quickly with Infinispan: What is Infinispan ? a quick introduction Getting Started with Infinispan data grid -the right way Clustering Infinispan made simple In this tutorial we will cover … 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

JBoss Seam tutorial 1

To be useful, your application has to be a multi tiered application that uses specific components for the presentation, business, and persistence tiers. If you have already developed one multi tiered application you know that lots of time is devoted to writing lots of “glue” code in order to connect your tier.  Starting from the presentation … Read more