Sample: Java EE rule session
This sample shows how to execute a simple stateless rule session on a Java EE application server.
Time required
10 minutes
Prerequisites
You must have Rule Execution Server installed to use this sample. If you work with another application server than WebSphere® Application Server, which is the default application server, you must install Rule Execution Server on your application server.
Description
If your application servers support Enterprise JavaBeans (EJB), you can execute the sample on the web by using Java™ Server Pages (JSP) or a Java client.
Important: For the remote client to work, you must first deploy
the appropriate rule session beans to the target application server.
The
key features of this sample include:
- Java EE rule sessions
- Stateless EJB3 sessions
- Package Enterprise JavaBeans (EJB) components and Java EE applications to use Decision Server
- Ruleset archives (.jar files)
- A Java XOM (execution object model) for the shop model
- Execution report: IlrExecutionTrace