Sterling B2B Integrator’s architecture is built on a multi-level platform, which enables efficient development of new features. You can respond rapidly to business and technology changes with this design.
The Sterling B2B Integrator platform:
- Supports a business process management approach to integration
- Provides enterprise scalability, manageability, and security
- Delivers non-invasive integration with pre-existing systems
- Supports emerging e-business standards frameworks
- Enables rapid change management and deployment
- Enables multiple interaction styles
- Offers a diverse, open-ended functionality set that you can extend in numerous ways
- Facilitates interoperability of integrating software
- Promotes widespread adoption of key industry standards
- Enables data transformation and data management activities that are the cornerstone of your processes
The following figure illustrates Sterling B2B Integrator’s architecture.
The figure depicts a Sterling B2B Integrator system using many B2B services and EAI adapters. Your configuration will use only the services and adapters that are required for integration activities. The figure also shows a mail box component and integrated human interaction points through Web Extensions, which you may or may not decide to employ.
The following steps explain the progress of a sample process moving through this architecture:
A trading partner sends a document such as a purchase order through a B2B transport protocol (SMTP, EDIINT, FTP, or HTTP) to your organization, using the appropriate service.
The arrival of the document triggers the business process you have configured for the document, and possibly, for this specific trading partner. The Business Process Engine manages the progression of steps in the business process.
The business process de-envelopes the document to obtain instructional information such as routing directions, in addition to the body content of the document.
- Based on the data in the document, the business process progresses to the next step. This might include passing the document (through EAI adapters) into one or more internal applications such as:
- A PeopleSoft™ order management system
- A Web Extensions application (online form) for human interaction with the data, such as a manager’s review and approval prior to routing to the next step
- An accounting system for credit verification, and then on to an order management system
- A mailbox application to store the data until a scheduled time when the business process progresses to the next activity
The process may end here or it may include additional steps, such as adapter-assisted interaction with one or more enterprise systems, to generate a response document to be returned to the trading partner, again using B2B transport services.
- For technical information about system design, seeSterling B2B IntegratorTechnical Framework
For information about the functions supported by the architecture, seeSterling B2B Integrator‘s Functional Framework
- For information about the Business Process Engine, seeBusiness Process Engine
For details about the core components ofSterling B2B Integrator, including B2B services, EAI adapters, and Web Extensions, see Fundamental Components ofSterling B2B Integrator
Sterling B2B Integrator Technical Framework
Sterling B2B Integratoris written in Java™ and can run in an application server-independent configuration or alongside an application server such as BEA WebLogic™, and JBoss™ products. Sterling B2B Integratoruses Enterprise JavaBeans (EJB) adapters when you communicate with an application server.
Application server independence is a valuable configuration because:
- It requires fewer product prerequisites, which may reduce your total costs.
- It enables greater flexibility in deployment options.
It works well if you use J2EE application servers thatSterling B2B Integratordoes not support, or if you have a policy of not deploying a different application server in any production environment.
There is no difference in the functionality betweenSterling B2B Integratorused in an application server-independent configuration and Sterling B2B Integratorused alongside an application server. Integrating with an application server requires the use of an adapter (EJB adapter), which is included with the product.
The following display shows a simplified view of the system architecture:
Think ofSterling B2B Integratoras a standards-based business process management system consisting of a toolbox of integration components, on top of a J2EE infrastructure. The integration components include the mapper, Graphical Process Modeler (GPM), B2B services, EAI adapters, and Web Extensions. The J2EE framework enables many key aspects of the Sterling B2B Integratorsystem, including:
- Standards-based interfaces for common middleware functionality
- Support for multiple operating systems, including UNIX, Windows NT/2000, Linux, and IBM z/OS® and iSeries®
- Load balancing
- Fault tolerance
- An advanced EJB object-oriented development and deployment environment that facilitates reuse of existing component software, easier change management, and easier application knowledge transfer
- Scalable component clustering
- Ability to create complex process flows
Functional Framework
TheSterling B2B Integratorframework uses a Business Process engine as its core transaction engine to support all data management, translation, transformation, and routing services.
This framework supports:
- Advanced parsing, filtering, and content-based routing through the use of XPath parsing and filtering technology
- A base set of services that you can use and extend as your requirements evolve and new technologies emerge (custom services can also be developed to support the unique requirements of your organization)
OtherSterling B2B Integratorfoundation functions that complement the business engine are:
- An administration layer that is a single point of access for configuring, monitoring, and managing the system and its integration activities
- Tracking services that trace the flow of information even as a business process runs
- Monitoring, which enables you to view business processes as they run
- Logging, which records system events such as user interaction, administration, and the execution of business processes
- Event notifications that provide alerts in response to events or exceptions, using mechanisms such as e-mail or pagers
- Archival storage of business process data
Fundamental Components of Sterling B2B Integrator
The Business Process Engine, Services and Adapters, Graphical Process Modeler, and Mapping and Data Transformation Components are all fundamental components ofSterling B2B Integrator.
The Business Process Engine is the core component that supports theSterling B2B Integratorbusiness process approach to integration. The Business Process Engine enables high-performance flexibility, extensibility, and a consistent environment for deploying EAI, Internet B2B, EDI, and business process management projects.
The Business Process Engine is Java-based. For information about the technical framework ofSterling B2B Integrator, see Sterling B2B IntegratorTechnical Framework .
Integration Activities Performed by the Business Process Engine
The Business Process Engine performs integration activities, known as services.
- Communicating with external applications or middleware (using special services called adapters)
- Performing data manipulations, such as translation, transformation, splitting, and joining
- Routing data based on content or other criteria
- Publishing data to interested subscribers, which may trigger a new business process or allow a running process to continue
- Execution of one or more B2B protocols
- Starting a business process
- Performing operations on SQL (Structured Query Language) database tables
- Enabling human interactions within an otherwise automated process
For more information, seeServices and Adapters.
Understanding Business Processes
The services that the Business Process Engine runs are configured within defined business process models that you create and modify within the system.
A business process is a series of linked software (and possibly human) activities that accomplishes a business goal. The activities are called services, the modules of work that comprise business processes. The services must complete for a business process to run successfully.
A business process model can be a simple linear configuration, or contain one or more decision points requiring human or system determination of the next steps in the process.
In the following conceptual figure of a business process, an oval represents an activity, and a diamond represents a decision point:
The high-level process for creating a business process model involves:
- Analyzing your business requirements.
- Determining which services, adapters, and components you must involve to accomplish your goal.
- Configuring the services and adapters used in the business process.
- Testing the business process.
Business Process Modeling Language
TheSterling B2B IntegratorBusiness Process Engine runs business process models that have been created using Business Process Modeling Language (BPML), which is an XML-based language for describing business processes. It was developed by the Business Process Management Initiative (www.bpmi.org).
- Graphical Process Modeler (GPM).
A simple text editor
Any graphical editor that can export the XML format toSterling B2B Integrator
Unless you are proficient in the use of XML and BPML syntax, use the GPM to create your business process models.
Business Process Flow
The Business Process Engine automatically selects the appropriate business process model to run when data enters the system through an input adapter. When an input adapter receives data from an external system, the Business Process Engine locates the appropriate business process or processes to call, and starts the process or delivers the incoming data to the appropriate process that is already running.
The following is an example of how the Business Process Engine executes the steps in a business process as a document progresses throughSterling B2B Integrator:
- Sterling B2B Integratorreceives the business message or document through an adapter.
- The Business Process Engine determines which service to start next, and starts the service, according to the content of the document.
- The adapter places the message or document and other appropriate process state information in a queue for the appropriate service in the selected business process.
- The appropriate service retrieves the initial business process state information from the queue and processes the next step in the business process.
- Each service in the business process updates the business process state information, and creates a copy of the related data or pointers to the data for process recoverability.
- An adapter sends the modified business process state information, with the data, to a specific application.
For information about how the system maintains process state information, seeFull Process Recovery.
A service is a set of instructions that the Business Process Engine uses to perform an activity in a business process. Adapters are services that connect the Business Process Engine and other system components to dissimilar systems and applications outside of theSterling B2B Integratorenvironment.
Business processes can send, pause, retrieve, and fully interact with adapters.
Services and adapters are reusable—you can include them in multiple business process models.
Understanding Services and Adapters
Sterling B2B Integratorincludes numerous services. Some are internal system services, while most are external and can be configured by users. Configurable services can be used in business processes for activities such as running pre-existing programs, ERP systems, Perl (Practical Extraction and Report Language) scripts, Java code, decision engines, defined subprocesses, or virtually any program. The interface includes wizard-driven configuration and deployment steps to make the setup simple.
- Internal - Accepts parameters and produces results, but does not directly interact with outside systems.
- Input - Receives data from outside systems.
- Output - Sends data to outside systems.
Input and output services are generally calledadapters. The adapters connect to systems and applications outside of the Sterling B2B Integratorenvironment. Adapters can listen for remote calls and then start the business processes. They can be used to start business processes or at any point in the business process.
Another type of input/output service is ahuman interaction service. Human interaction services enable humans to interact with a business process; for example, using a Web browser to approve data as a step in a business process.
For a list of the functional types of services and adapters inSterling B2B Integrator, see Service and Adapters Category List.
Standards, Foreign Language, and Data Type Support
Sterling B2B Integratorservices are developed using industry-accepted specifications for data formats, communication protocols, workflow modeling, and security in order to maximize interoperability between systems and trading partners.
- Internet transports
- Cryptographic services
- Document-enveloping formats
- Document formats
- Business process sequencing
- Web services
BecauseSterling B2B Integratoris built on a Java code base, and Java supports Unicode, which is a universal character-encoding scheme for written characters and text, the programs with which your processes will interact can be written in nearly any language. Virtually any file-based, message-based, or stream-based data type are also supported.
Adapters
Adapters either receive input from or provide output to outside systems. Adapters provide noninvasive integration with Enterprise Resource Planning (ERP), Supply Chain Management (SCM), Customer Relationship Management (CRM), other packaged applications, enterprise applications, communication protocols, messaging solutions such as IBM WebSphere®, and databases.
The following process summarizes the way adapters work within a business process:
- The business process progresses to the application adapter step.
- The adapter calls a third-party application to perform an activity.
- The system records the modified state (context) of the process and related data.
- The business process continues to the next service or adapter.
Service and Adapters Category List
| Service and Adapters Category | Description |
|---|---|
| Application adapters | Connect to packaged business applications that are external toSterling B2B Integrator, including ERP, CRM, supply chain management, and procurement software. |
| BPML activity services | Support the run-time execution of functions in a business process model. |
| Communication adapters | EnableSterling B2B Integratorto send and receive messages using the standard Internet communication protocols. |
| Custom services | Developed and configured by your software developer to use withSterling B2B Integrator. |
| EDI services | Transaction processing for EDI transactions, including de-enveloping, enveloping, and functional acknowledgment generation. |
| Internal services | Support the general run-time environment and are not user configurable. |
| Internet B2B standards services | Manage data from your firewall to your trading partners by running interoperable Internet business sequencing protocols such as EDIINT, SOAP, RosettaNet™ Implementation Framework (RNIF), and Electronic Business using eXtensible Markup Language (ebXML). |
| Messaging adapters | EnableSterling B2B Integratorto send messages to and receive messages from remote messaging queues |
| IBM®adapters | Connect to otherIBMproducts. |
| System services | Support the general run-time environment (these are user configurable). |
| Translation services | Translate or transform data using maps created with the Map Editor tool. |
| Web Extensions services or “human interaction” services |
|
Sterling B2B Integratoris flexible and enables you to determine what activities to configure as a service, a business process, or a subprocess. For instance, you could implement ebXML support in the form of multiple activities linked together in a business process, or write a single service. This flexibility ensures that you can easily adapt to new requirements.
You can create business process models by using drag-and-drop technology in the Graphical Process Modeler (GPM). The GPM depicts the services that you include in your business process models by using icons. Each icon translates into multiple lines of code.
Business process models define how the Business Process Engine executes the activities in a business process. Creating business process models for the system to follow is the central activity around which your operations are based on.
You can drag icons from a pallet of options representing the services and BPML constructions (such as choices, start and stop, and so on) that you require on to the workspace in order to create your business process model. When you save the business process model, the GPM converts the graphical representation into well-formed and valid Business Process Modeling Language (BPML).
For information about how the Business Process Engine runs business processes, seeBusiness Process Engine.
Examples of GPM
The following figure shows GPM icons representing the beginning and end points of a business process model:
The following figure shows some of the GPM icons representing specialized services:
In the GPM interface, a simple business process model might look like this:
The following is an example of a more complicated process depicted in the GPM:
You can reuse an entire process model or a part of it to create new or modified versions of existing models.
Business processes can start other processes and link to subprocesses.
Sterling B2B Integratormanages data translation and transformation of complex flat files that are in positional, fixed length, and variable-length delimited formats, supporting both standard and extended rules.
It translates data according to the instructions you provide in the form of translation maps, which you create and manage using the Map Editor tool. A translation map specifies how data in one format relates to data in another format.
- Tables defined in translation maps
- Structured Query Language (SQL) queries, stored procedures, and stored functions.
How Translation Works
From a technical perspective,translation servicesperform run-time translation based on the translation maps you have created, using translation objects and XML encoder objects to translate data from one format to another.
The translation objects (files with a .txo extension) and XML encoder objects (files with an .ltx extension) are the compiled translation maps.
- Verify if the document that is received complies with the validation and transformation rules defined for the map.
- Store errors in a report and send these to the business process for appropriate action.
Supported Translation Formats
- Positional
- Variable-delimited (including, Comma-Separated Values)
- XML, with full support for XML schemas, DTD (document type definition), and namespaces
- EDI (ANSI X12, UN EDIFACT, Tradacoms, Japanese Center for Informatization of Industry [CII] ).
Map Editor Tool
You can create, modify, and compile translation maps using the Map Editor tool. The Map Editor is an offline, Windows-based program that you download fromSterling B2B Integrator. It includes preloaded standards and provides flexibility in mapping complex data transformations.
The Map Editor is built on software from the provenIBM® Sterling Gentran®product line. Customers familiar with the IBM Sterling GentranMap Editor do not require re-training.
Translation Maps in Sterling B2B Integrator
Using the Map Editor, you can create data transformation maps for the system to use at run time. You can then include the appropriate translation map and related services in your business process models to configure run-time translation activities.
- Direct mapping from an input format to an output format (no intermediate format required)
- Mapping any supported input format to any supported output format
- Mapping any field or segment of an input map to any field or element of an output map (for example, fields occurring in the trailer section of an input format can be mapped to header fields in an output format)
- Complex rule-based data mappings
- Custom calculations and data type conversions
- Custom Java code user exits for extended rules enable further customization of map behavior
- User exits that support custom Java code
The Map Editor provides tools that allow you to migrate or convert maps from theIBM Sterling Gentranfor Windows, IBM Sterling Gentranfor UNIX, IBM Sterling Gentranfor iSeries, and IBM Sterling Gentranfor zSeries® products.
The following figure is an example of a translation map in the Map Editor:
Trading Partner Code Lists
Using the Map Editor, you can create code lists. A code list is a list of values for a field and their corresponding descriptions that you can include in a translation map. You can associate a rule in a translation map so that the system either checks values against the code list or selects a value from the specified list. For example, you can cross-reference a list of internal codes, such as item codes, with corresponding codes from a trading partner. At run time, a map can look up the codes and map the internal item code to an external partner's code or the reverse.
Without this code list capability, you would have to create such cross-reference functionality using an extended rule, a user exit in an extended rule, or some other custom processing outside of the translation service.
XML Transformation Components
| Feature | Description |
|---|---|
| XML Encoder | An included XML Encoder component provides high-performance translation of the existing application data into XML. The XML Encoder receives a given input format and writes an XML-wrapped output document, without requiring an output map. The XML-wrapped document is then available to a business process for manipulation because the Business Process Modeling Language supports XPath specifications. |
XML Schema Repository functionality | You can maintain a repository for XML schemas and DTDs for use by any appropriate component or service in a translation business process. Schemas are stored in theSterling B2B Integratordatabase, much like translation maps. You can store multiple versions of a schema. |
XSLT transformations | XML Stylesheet Language Transformation (XSLT) canbe enabled with a special service that you can configure in a business process to perform transformations. You can use XSLT for XML-to-XML transformation and creation of static HTML pages from XML documents. |
XPath Expression Builder | To ease the creation of XPath-based business rules (content-based routing, content filtering and querying, and calculations), an XPath Expression Builder tool is provided. You can save XPath expressions with a logical name, and re-use them. |
The following figure shows the XPath Expression Builder:
Adapting to Increasing XML Demand
- Use of BPML for process model representation
- Web Services support (SOAP adapters)
- WSDL
- RosettaNet Partner Interface Processes (PIPs)
- The ebXML messaging service
- XML Digital Signature support (required by the ebXML messaging service)
- Support for various ERP/CRM application XML interfaces, such as PeopleSoft
- Representation of process state data in a format (using an XML DOM tree) for presentation in a browser window
