Category Blogs

Tree Traversal with Hierarchical Query in Oracle

Recently I worked on an interesting use case from auditing which requires to roll up status of lower level tables into higher level. We already have a tree hierarchical design in our data model.

There are two options: one is to handle the roll-up pair by pair; another is to design a context table which presents the tree structure and use Oracle hierarchical query to go through tree traversal based on depth first search. The second  option is obviously an optimized approach to go. Since it may easily handle larger size model – as long as we have the context table ready. Let’s dive in and see how we handled this.

First, I created a context table which presents the context id and parent context id relationship. It’s a self-reference table.

create table ls_context_info
(
  context_id numbe...
Read More

Enterprise Integration: BPM, ESB and SOA Choice

It’s an era with many directions! There are so many tools available for enterprise integration. To choose the right one usually means whether the organization may get expected return on the possible huge investment.

Each enterprise integration requirement can be different. I assume you are working in a SOA environment, facing the pressure to move to cloud, but not quite ready.

We will talk about our preferred BPM and ESB tools, plus the choice of SOA integration and web service protocols.

Let’s start from analyzing business requirements and setting the processes using BPM application. By defining business processes, we get well-defined boundaries of services.

BPM: Activiti (Open Source, Free)

Alfresco Activiti can be the best choice to define and manage business processes and workflows...

Read More

Enterprise Integration: Choosing the Right ESB Solution

Nowadays, to use SOA-based architecture is the main option for enterprise application integration. There are quite a few handy open source candidates from Apache, MuleSoft and Talend, etc. Plus almost all major vendors’ ESB offerings, including IBM (Integration Bus), Oracle (OSB, SOA Suite), Software AG (webMethods), TIBCO (ActiveMatrix), Microsoft (BizTalk) and SAP (NetWeaver) etc.  Now the question is, among all of them, which one is the right one for your organization?

Before diving into following tools section, it’s worth to learn 65 enterprise integration patterns (EIP) to gain some knowledge about what and how in this area.

This article will mainly focus on open source solutions since they are more and more popular...

Read More