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
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
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. App Dev in the Cloud: How to Run JBoss BRMS in a Container

App Dev in the Cloud: How to Run JBoss BRMS in a Container

In this post, we take a look at how to run JBoss BRMS in a container to be used in the cloud, be it your own private cloud or another cloud solution.

Eric D.  Schabell user avatar by
Eric D. Schabell
CORE ·
Jan. 10, 17 · Tutorial
Like (14)
Save
Tweet
Share
4.92K Views

Join the DZone community and get the full member experience.

Join For Free

I have a series of articles where I explore with you the reasons why application developers can't ignore their stacks anymore, which refers to the cloud-based infrastructures they working in their daily jobs. This led to my explorations of the possibility to create that cloud-based infrastructure locally as a substitution for the full-blown Red Hat Cloud Suite experience.

What would be nice, I thought, was to have some form of local private cloud that was just the same as what you are experiencing at work where full data centers are used to host an organizations Cloud experience.

This led first to an example project that installs Red Hat OpenShift Enterprise (OSE) as an image through the Red Hat Container Development Kit (CDK).

Next, I gave you the JBoss BRMS installation example for use on OSE. This was a perfectly fine way to work, but the ultimate goal is of course to keep up with the latest products that Red Hat provides.

With that in mind, I went off looking for a way to provide you with Red Hat OpenShift Container Platform (OCP), in the same easy to use demo format. The results of that project was presented in a previous article, but that is not the end of this story.

Containerize JBoss Business Rules Management System (BRMS)

Once you have installed OpenShift on your machine, either the Red Hat CDK or OCP, then the next step is to start exploring your application development options with Red Hat JBoss middleware products.

This section will take you through another simple to install example project that gives you a fully operational, fresh out of the box installation of JBoss BRMS. Not only that, it will be a containerized installation that is created on your OpenShift installation!
  1. First, ensure you have an OpenShift container based installation, such as one of the following installed first:
  2. OCP Install Demo
  3. CDK Install Demo
  4. Or your own OpenShift installation.
                              Watch the container building live on OpenShift Container Platform.
  5. Add products to the installs directory.
  6. Run 'init.sh' or 'init.bat' file. 'init.bat' must be run with Administrative privileges:
   # The installation needs to be pointed to a running version
   # of OpenShift, so pass an IP address such as:
   #
   $ ./init.sh 192.168.99.100  # example for OCP.

   $ ./init.sh 10.1.2.2        # example for CDK.


Now log into JBoss BRMS and start developing containerized rules projects (the address will be generated by the init script).

  • OCP example: http://rhcs-brms-install-demo.192.168.99.100.xip.io/business-central ( u:erics / p:jbossbrms1! )
  • CDK example: http://rhcs-brms-install-demo.10.1.2.2.xip.io/business-central ( u:erics / p:jbossbrms1! )

The pod shown is your JBoss BRMS container on OpenShift Container Platform.

Be sure to give the container time to not only start up, but to start up JBoss EAP with JBoss BRMS. You can check this by finding the deployed pod in the OpenShift console and looking into the logs tab.

That's it, you are now able to start developing business logic and events at your leisure.

Stay tuned for more by watching for updates here or following the projects at Red Hat Demo Central. 

Container JBoss Cloud dev OpenShift app

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

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Select ChatGPT From SQL? You Bet!
  • Express Hibernate Queries as Type-Safe Java Streams
  • Stream Processing vs. Batch Processing: What to Know
  • A Brief Overview of the Spring Cloud Framework

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
  • +1 (919) 678-0300

Let's be friends: