DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • What Is Istio Service Mesh?
  • Microservices With Apache Camel and Quarkus
  • Web Development Checklist
  • How To Scan and Validate Image Uploads in Java

Trending

  • What Is Istio Service Mesh?
  • Microservices With Apache Camel and Quarkus
  • Web Development Checklist
  • How To Scan and Validate Image Uploads in Java

Beginners Guide to Decision Management in a Retail Web Shop

There is no better way to getting started with a new technology than a beginners guide, a demo, and a workshop where you build it all step-by-step in a hands...

Eric D.  Schabell user avatar by
Eric D. Schabell
CORE ·
Sep. 08, 20 · Tutorial
Like (1)
Save
Tweet
Share
2.97K Views

Join the DZone community and get the full member experience.

Join For Free

There is no better way to getting started with a new technology than a beginners guide, a demo, and a workshop where you build it all step-by-step in a hands-on fashion.

This article is about to reveal one of the easiest ways to get started with decision management tooling through an example everyone can relate to, a retail web shop.

Decision management tooling is there to help capture business logic and centralize that logic outside of you deployed applications. No better way to experience that than to see it in action, maybe even building the example yourself to see how the tooling and components are working together.

It's with this thought process that I've put together a great hands-on workshop and provided a completed demo project centered around a retail web shop experience.

Let's take a look at the demo project and hands-on workshop materials available to you free online today.
There are two parts to exploring decision management tooling for the first time, installing and building something with it. To accelerate the first aspect, we'll help you with a completed retail web shop project that includes installation. The upside here is you can explore the tooling without having yet built anything.

Installing the latest Red Hat Decision Management tooling is fairly easy, so here's a guide to a project that breaks down the installation and demo run-through into easy steps.

Installation and exploration

It's really only three easy steps to get started and install the decision management tooling:

  1. Download and unzip.
  2. Add products to installs directory, see installs/README for details and links.
  3. Run 'init.sh' or 'init.bat' file. 'init.bat' must be run with Administrative privileges, follow displayed instructions to start demo.

To explore the tooling and capabilities of centralized decision management, follow these steps:

  1. After logging in to decision central (http://localhost:8080/decision-central u:erics / p: redhatdm1!), open the project and deploy from the assets view.
  2. Open the retail web shop front-end (http://localhost:8080/webstore-demo) and shop by adding items to basket and watch the shipping price climb as each threshold is passed (total value in shopping cart passes 25, 50, 75, and 100).
  3. Now open the 'Shipping Rules' decision table and adjust the field 'Shipping Total' for row 2, from 99.99 to 4.99 (as the postal service has discovered their pricing mistake on tier two).
  4. Save the decision table and return to asset view to build and deploy the project again.
  5. Clear the retail web shop cart and start shopping again... notice the threshold pass 25 and the shipping costs are now 12.99.

Just start here from the beginning and enjoy the experience. It's self paced so you can stop and return any time you like after installing on your own machine.

Web Service

Published at DZone with permission of Eric D. Schabell, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • What Is Istio Service Mesh?
  • Microservices With Apache Camel and Quarkus
  • Web Development Checklist
  • How To Scan and Validate Image Uploads in Java

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: