JBI/SOA Tips: Use Unique Element to ‘Wrap’ Each Business Message

Fine-grained interfaces kill system performance. Coarse-grained interfaces reduce the cost of data processing and improves network latency.

You have to exchange rich business documents that effect complete state changes in the system rather than exchanging  multiple small documents that only effect small state changes in a system.

Business messages may contain one or more business objects that they carry.

When designing global collaborations for wire-centric integration, if you have a complicated interchange that has multiple business objects to it, aggregate these messages together by wrapping them.

Ensure that the container of the wrapped messages has a unique top-level element name.

This wrapper can serve as an open-ended container that sets the business context for what to do with these messages and ensures these messages are self-defining.

Wrap Message with Unique Element Name

Like this write-up? Subscribe to receive more like it.
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Gopalan Suresh Raj, a Senior Software Architect, Published Author, and a Public Speaker, is a member of Sun Microsystems, Inc.'s Research and Architecture team. For the past several years he has been designing solutions using Java and C++.

Contact him at Gopalan.Raj@Sun.com  or Suresh.Gopalan@oracle.com

His personal public profile is available at: https://profiles.google.com/ipersist/

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today