Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

JBoss BPM Microservices Integration Guide Based on JBoss Fuse 6.2

DZone's Guide to

JBoss BPM Microservices Integration Guide Based on JBoss Fuse 6.2

With the release of JBoss Fuse 6.2, we wanted to revisit our JBoss BPM project and make sure you had the latest, greatest products at your disposal.

Free Resource

Discover how Microservices are a type of software architecture where large applications are made up of small, self-contained units working together through APIs that are not dependent on a specific language. Brought to you in partnership with AppDynamics.

Early this year we announced the exciting example project for JBoss BPM Suite that centers around a working online Travel Agency project.

This initially leveraged web services, that we later migrated to microservices with the help of JBoss Fuse.

With the release of JBoss Fuse 6.2, we wanted to revisit the project and make sure you had the latest, greatest products at your disposal.

With a bit of work, some spit and polish, we think you will enjoy the all new JBoss BPM Suite & JBoss Fuse Travel Agency Integration Demo up to date and feel that you have a great example of their microservices integration capabilities.

This project provides an automated installation (repeatable) in minutes where you get JBoss BPM Suite running on an instance of JBoss EAP and a separate instance of JBoss Fuse with an automated install of 6 microservices each in their very own container!

Background

This demo is brought to you in part by our very own Christina Lin who is the JBoss Technology Evangelist that focuses on JBoss Fuse & messaging products. If you have a use case you would like to see then just let us know by raising an issue on the project.

The project can be found on github and has documentation to get you up and running in minutes.

Demo details

Upon starting the server you will find a JBoss BPM Suite setup with the Travel Agency project ready for you to inspect, build and deploy for use by the JBoss Fuse microservices you will be deploying in their own containers.

The JBoss Fuse component of this demo consists of pre-configured microservice containers which we will then have you start once JBoss Fuse has started. Once they are up and running each instance of booking a flight will leverage the microservices which you can view in the JBoss Fuse console.

Installing and Running

The following steps will get you up and running in a matter of minutes with this fully automated and repeatable demo:

  1. Download and unzip.
  2. Add products to installs directory.
  3. Run 'init.sh' or 'init.bat' file. 'init.bat' must be run with Administrative privileges.
  4. Start the JBoss BPM Suite server, login, build and deploy JBoss BPM Suite process project at http://localhost:8080/business-central (u:erics/p:bpmsuite1!).
  5. Add fabric server passwords for Maven Plugin to your ~/.m2/settings.xml file the fabric server's user and password so that the maven plugin can login to the fabric.
     <!-- Server login to upload to fabric. -->
     <servers>
         <server>
             <id>fabric8.upload.repo</id>
             <username>admin</username>
             <password>admin</password>
         </server>
     </servers> 

  6. Start Fuse Server, by running 'fuse' or 'fuse.bat':
  7. Login to Fuse management console at: http://localhost:8181 (u:admin/p:admin).
  8. Under Services -> Containers tab, you will see 6 containers, select and start each one. 
  9. Check if web services are available under Services -> APIs tab. 
  10. Enjoy the demo!

We hope you enjoy this updated demo showcasing JBoss Fuse integration with JBoss BPM Suite.

Discover the six challenges and best practices in managing microservice performance, brought to you in partnership with AppDynamics.

Topics:
jboss fuse ,apache fuse ,jboss bpm ,brms ,bpm suite ,automate ,jbpm ,jboss ,integration

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

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}