JBoss Seam Lab

Lab #5 (Rules Engine Integration)

Overview

Seam integrates with JBoss Rules(Rules Engine). In this lab, you will edit/redeploy a pre-built Seam application that has a rule engine call.

Lab Instructions

  1. We've got a pre-built application that includes Rules integration. Ideally, you will edit JBoss Rules definitions(.drl files) with JBossIDE eclipse based plugins. If you don't have JBossIDE, no worries. You can hand edit the (.drl) files with any text editor.
  2. Update the Rule Definition (.drl file)

Key Files

@workspaceHome@@sep@helloworld-lab5@sep@resources@sep@WEB-INF@sep@components.xml
@workspaceHome@@sep@helloworld-lab5@sep@resources@sep@helloworld.drl

@workspaceHome@@sep@helloworld-lab5@sep@src@sep@com@sep@mydomain@sep@helloworld@sep@rules@sep@HelloBean.java
@workspaceHome@@sep@helloworld-lab5@sep@src@sep@com@sep@mydomain@sep@helloworld@sep@rules@sep@RulesImpl.java
@workspaceHome@@sep@helloworld-lab5@sep@src@sep@com@sep@mydomain@sep@helloworld@sep@rules@sep@RulesInterface.java

@workspaceHome@@sep@helloworld-lab5@sep@view@sep@helloworld.xhtml

Home | Next