Blog Posts Process Management Process Modeling

BPM Integration with OSGi: JAX-RS and JPA

Blog: Gary Samuelson Information Systems Anatomy


Multi-part Series:

  1. (this article)  BPM Integration with OSGI: JAX-RS and JPA
  2. JPA OSGi Bundle Delivers (Java) Business Domain Objects
  3. JSON Formatted Business Information through DOSGi (JAX-RS ReST Services)
  4. BPM Service and Web-client Consumers for JSON over ReST

Forward

Why Integrate BPM with OSGI?

… Because it’s one of the best technologies available today for managing SOAP and ReST services:

  1. Very well contained and managed components
  2. Deployments never require a server restart
  3. Strong version control (Websphere also provides a console for on-the-fly version switching between deployments)
  4. Dovetails into Service Component Architecture (SCA)

What this means… basically, is that I worry less when enforcing OSGi technology requirements for BPM integration adapters and resource providers. Additionally, better encapsulation and version control means MORE deployments. And “more deployments” clears the path for agile methodology. Leading both BPM and integration teams towards a perfectly amicable relationship while struggling to keep up with the constantly changing demands of value-driven development.

BPM Integration with OSGi: JAX-RS and JPA

Process and UI implementation examples are from IBM’s BPM. I chose Websphere Server and Rational Application Developer (RAD) because IBM uses Aries Blueprint, openJPA, and SCA. Websphere also nicely encapsulates OSGI deployments from each other to help avoid potential collisions between bundles. And this is an important feature given that I chose to use CXF’s DOSGI as the JAX-RS implementation.

I also have an earlier version of this OSGI demonstration using Websphere Liberty. And, I did manage to get everything working… except for DOSGI (swapping out CXF for Wink). For Wesbsphere Server though… CXF’s DOSGI was just too irresistible a feature to leave behind. I’ll reference both Websphere and Liberty implementations to show the difference.

Platform and tools include:

We’ll first start at the ORM/database layer with JPA object mapping before working our way up through JAX-RS.

Next: JPA OSGi Bundle Delivers (Java) Business Domain Objects

 

 

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/bpm-integration-with-osgi-jax-rs-and-jpa/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×