We gratefully acknowledge the contribution of Cesar Quinteiro, a valued partner at Intergal
with many years of experience in transaction business logic. Cesar built the demo shown here.
These instructions are for Eclipse EE (Indigo - 3.7); you can alter them for your IDE.
First, acquire ICEFaces 2.1. As of this writing, get
ICEfaces-2.1.0.BETA2-Eclipse-3.7-3.6-plugins.zip from the ICEFaces download page.
Automated Business Logic
Next, you will need to acquire Automated Business Logic. It is available from the Downloads
Although we recommend you complete the installation instructions, it is sufficient to simply unpack the zip in order to run this demo. This will create a folder called
AutomatedBusinessLogic, which can be used as a workspace. It contains the
abl project used below, and the
ThirdParty folder also used below.
Follow the steps below to create the project.
Create a new Eclipse workspace.
Add abl (from main install)
In your new workspace, add the
abl project specifying your
Add BusLogicDemoICEFaces project
Start by downloading the demo archive from ABL's web site. Windows users will typically use the Zip archive. Unzip the project into the workspace, and use Eclipse to Import > Existing Project; select the unzipped project.
Configure the Database Location
HibernateFactory class, and edit the
realPath to match your project location.
Add Tomcat server
In the Server View, new > Server > Tomcat V7 and select the Tomcat installation under your
Then, add the
BusLogicDemoICEFaces project to the new server.
Get JSF 2 Mojarra
BusLogicDemoICEFaces to access Properties > Project Facets > Java Server Faces. Click Download Library (shown at right), and select the entry show for ICEFaces. The screen should appear as shown below after you have made the selection; click Finish to install JSF.
Increase JVM Memory
Locate the Launch Configuration for Tomcat, and edit it. Select the Arguments tab, and append the following to the VM arguments:
Start the Tomcat server, and lick the following link to run the project:
Try paying / unpaying an order, changing a line item quantity / product, deleting a Line Item, etc. Observe the console log to see which rules fire.