Enterprise Java

Ultimate Cloud Guide to Retail in the Cloud with JBoss Cool Store

We have been discussing why application developers can’t ignore their stack anymore in the App Dev Cloud Stack series.

App Dev Cloud with JBoss Cool Store
App Dev Cloud with JBoss Cool Store

We talked about the various layers from the bottom up, but have yet to provide you with any application development tooling beyond the Red Hat Container Development Kit (CDK). All you have so far is an easy to install project called the Container Development Kit Install Demo.

We then provided two getting started projects with JBoss BRMS and JBoss BPM Suite products running on the Red Hat CDK. These were just initial setups of the products and the projects you can create there are left up to you to develop.

Today we bring you a full retail example with the JBoss Cool Store running on the OpenShift Enterprise layer of your stack, provided by our Red Hat CDK installation.

You can now fully demo and leverage a retail example based on JBoss BRMS through the business central web console running containerized on an OSE pod.

Watching the JBoss Cool Store build.
Watching the JBoss Cool Store build.

Retail in the Cloud

We will be leveraging previous work that installs the Red Hat CDK. The Red Hat CDK is packaged into a RHEL 7 virtual machine that you can start on your machine after installing this project. There are several choices provided with pre-configured installations, but they all include the basic setup for Docker and the tools needed to start leveraging Docker based containers.

The following container must be started after installing this project for you to get started with the JBoss Cool Store retail application:

  • OpenShift Enterprise – a containerized version of OpenShift Enterprise can be started that can be accesses through a Web console in your browser or via the OpenShift command line tools. Explore your very own private PaaS developer experience with this container.

The retail JBoss Cool Store in the Cloud!
The retail JBoss Cool Store in the Cloud!

Now that the you have the OpenShift Enterprise image up and running, you can start moving the JBoss Cool Store application into the Cloud with the following steps:

  1. First complete the installation and start the OpenShift image supplied in the cdk-install-demo.
  2. Install OpenShift Client Tools if you have not done so previously.
  3. Download and unzip this demo.
  4. Add products to installs directory.
  5. Run ‘init.sh’ or ‘init.bat’ file. ‘init.bat’ must be run with Administrative privileges.
  6. Login to Cool Store to start exploring a retail web shopping project:http://rhcs-coolstore-demo.10.1.2.2.xip.io/business-central ( u:erics / p:jbossbrms1! )http://rhcs-coolstore-demo.10.1.2.2.xip.io/brms-coolstore-demo

Cloudy JBoss Cool Store project.
Cloudy JBoss Cool Store project.

Now you are up and running with a fully installed, Cloud ready JBoss Cool Store . If you want to learn how to build the Cool Store from the ground up, check out this online workshop.

For more information around containers, a Cloud stack and why you need to care about this containerized stack for your application development, see the App Dev Cloud Stack series that takes you on a tour of the Red Hat Cloud Suite.

Stay tuned for more!

Eric Schabell

Eric is Chronosphere's Director Technical Marketing & Evangelism. He's renowned in the development community as a speaker, lecturer, author and baseball expert. His current role allows him to coach the next generation of technical marketers & evangelists helping the world to understand the challenges with cloud native observability. He brings a unique perspective to the stage with a professional life dedicated to sharing his deep expertise of open source technologies and organizations. Follow on https://www.schabell.org.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back to top button