Lab 10 - Running the Cool Store Demo
Lab Goal
To install the shopping cart web application and run the Cool Store Demo
Cool Store web application
- The online web shop application (brms-coolstore-demo.war) has been deployed for you already.
$ ls brms-install-demo/target/jboss-eap-6.4/standalone/deployments/
- it will be available if you have already built the rules project at least once
Welcome to the Cool Store
- Start (if not already running) the JBoss BRMS server
- Open the Cool Store web application:
Demo the Cool Store
- A simple demo shows changing shipping decision table values, picked up live in web application
- select
'Forge Laptop Sticker ($8.50)'
and click 'ADD TO CART'
button
- note shipping calculated to
'2.99'
Demo the Cool Store
- Now change the decision table shipping value in the JBoss BRMS dashboard
- login and open the decision table
'Shipping Rules'
- change the
'Shipping Tier 1' 'Shipping Total'
value to '22.99'
Demo the Cool Store
- Save the rule
- In poject editor we need to release a new version of our project
- Bump up the Version ID:
OPEN PROJECT EDITOR
VERSION ID: 1.0.1
Demo the Cool Store
- Ensure your package builds:
OPEN PROJECT EDITOR -> BUILD & DEPLOY
(should see green pop-up 'Build Successful')
Demo the Cool Store
- Clear the values in the Cool Store shopping cart and re-run the previous purchase
- select
'Forge Laptop Sticker ($8.50)'
and click 'ADD TO CART'
button
- note shipping calculated to
'22.99'
More Cool Store Fun?
Running in bpmPaaS (video)
Ready for more?
There are more free online workshops to help you along with JBoss BRMS and JBoss BPM Suite. Check them out
and expand your skills today!
- JBoss BRMS & BPM Suite Articles
- JBoss BPM Suite Demos
- JBoss bpmPaaS Demos