Professional Documents
Culture Documents
White Paper
Version 1.0
Date 08/09/2007
Change Description Prepared / Revised By First Draft Ranga Srinivasan SOA & Middleware HCL Technologies
Confidential Information Information contained within this white paper is confidential and proprietary to HCL and should not be disclosed to anyone other than the recipients.
2007. HCL Technologies Ltd. No information may be reproduced or retransmitted without explicit permission from the company.
Table of Contents
1. Introduction .....................................................................................................3 1.1. Target Audience ...........................................................................................4 1.2. JCAPS Highlights ..........................................................................................4 1.3. SOA and JCAPS ............................................................................................4 2. Application Integration through eGate and eWays ...........................................5 2.1. eWays - Adapters .........................................................................................5 3. SOA through Business Process Management eInsight ...................................6 4. Version Control ................................................................................................7 5. Deployments, Management and Monitoring .....................................................7 6. Adopt Best Practices ........................................................................................7 6.1. Set Up Integration Competency Center (ICC)...................................................8 6.2. Development Methodology Standards .............................................................8 6.3. Set Up Integration Testing Methodology..........................................................9 6.4. Messaging Standards and Common Information Model......................................9 6.5. Set up Generic Integration Services (Logging, Auditing and Error Handling) ........10 6.6. SOA Naming Standards.................................................................................10 7. Case Studies.....................................................................................................11 7.1. Case Study 1 ...............................................................................................11 7.2. Case Study 2 ...............................................................................................13 8. Conclusion........................................................................................................15
1. Introduction
Business enterprises have grown in size and markets they serve and their application systems have also become more complex. The need for application programming interfaces between these systems to share the data stored in these heterogeneous systems has escalated. Enterprise Application Integration (EAI) provides the means of integrating these disparate applications within the enterprise. Service Oriented Architecture (SOA) enables reuse of services. Emerging EAI tools help build integration as services and maximize reuse and the return on investment (ROI). Some of the important driving factors for middleware and integration are: Growing adoption of packaged applications Base of business critical legacy systems Multiple platforms, protocols and technologies Internet enabling of applications through portals, self-service websites and so on The solution to these requirements is using an EAI product which shields business applications from the integration complexities by adding a layer that allows them to communicate seamlessly. As shown in figure 1, EAI system acts as an Information backbone for the organization. Once in place, the EAI backbone becomes reusable and strategic asset, readily meet the future needs, typically to construct complex business processes. EAI also reduces the cost of change in adding new applications, supporting new processes all without impacting the users or developers.
Figure 1: A typical EAI Sys System, where EAI acts as a backbone for all the application integration
Sun Java Composite Application Suite (Sun JCAPS) provides an open source platform which enables enterprises to maximize their IT assets through easy integration of their IT systems such as ERPs, CRMs and custom applications, automating the business processes and easy partner integration. The scope of this paper is to highlight HCLs real world SOA implementation using Sun JCAPS in a financial industry and beverages industry.
This provides a framework of collection of technologies (Sun JCAPS eGate, JMS and eWays) that together provide near real-time integration through application programming interfaces e.g. integration to SAP ERP system through BAPI eway.
Data Integration
Sun JCAPS eTL provides an integrated access to variety of relational and non-relational database sources and also to mainframe and flat file data. In this approach enterprises still maintain separate applications but opt to use EAI tools to move data from one data source to another.
Process Integration
Business Process integration (Sun JCAPS eInsight) works at the higher abstract Business Flow level within the organization. The pre-condition for this is that, the applications within the enterprise must be already communicating with each other. Process Integration interconnects the Business Processes within the organization thereby actually managing the flow of information between the applications. With the help of the Business Process Integration tools the business managers can define, monitor and change business processes through a graphical modeling tool. Sun JCAPS eBAM provides business activity monitoring. Required key Business events are collected from the message bus (eGate or eInsight business processes). These business events can be aggregated or summarized based on specific key performance indicators (KPIs) and presented on a dashboard.
Business-to-Business Integration
B2B Integration works across the businesses to implement the real e-business by integrating customers, suppliers and partners. Sun JCAPS eXchange enables partner integration in the Sun JCAPS Suite.
Application Integration through eGate and eWays Real-world Enterprise SOA implementations Using JCAPS Page 5 of 15
SOA through Business Process Management eInsight Real-world Enterprise SOA implementations Using JCAPS Page 6 of 15
Communicating with Siebel CRM can be done through Siebel EAI or through HTTP eWays. Typically large volumes can not be pushed through Siebel EAI or HTTP, so appropriate message structure (XSD) need to be in place to batch the messages and push.
4. Version Control
JCAPS allows all the components (JCDs, Business Processes, CMAPS and deployment profiles) to be developed in eDesigner. The JCAPS artifacts are stored in Sun SeeBeyond JCAPS repository. JCAPS itself provides version control capabilities for all the artifacts in the repository enabling maintaining multiple versions. Enterprises prefer to have single source control system. JCAPS does not integrate with commercial/open source version control software yet, although, there are plans for such in the future release. In our experience, on a daily basis, the projects are exported from development or testing environment and checked into Subversion/CVS. This would be fall-back in case of any unforeseen issues with the code, one can get the latest project from Subversion and import them and build on.
Adopt Best Practices Real-world Enterprise SOA implementations Using JCAPS Page 8 of 15
Adopt Best Practices Real-world Enterprise SOA implementations Using JCAPS Page 9 of 15
Figure 2: 4D Methodology
For projects requiring one of type integrations, prototyping becomes important and adequate time needs to be arranged.
Adopt Best Practices Real-world Enterprise SOA implementations Using JCAPS Page 10 of 15
The above information model helps applications to easily route the data to target applications for processing further.
6.5. Set up Generic Integration Services (Logging, Auditing and Error Handling)
Transactions processed through the integration bus can error due to data formatting issues, business validation issues and connectivity with external systems issues etc. Auditing and Error handling are critical processes that help in reconciling the transactions. Auditing, Logging and Error handling are provided by common services across the enterprise. At HCL, we have developed Generic Integration services that provide logging, auditing and error handling functions. It is a best practice build this functionality or get from Sun or its preferred partners (HCL). This provides a jump-start capability for integration projects. Auditing captures the flow of the events in the integration bus. Certain key information (created user, source system, transaction details, timestamp etc) of the transactions are captured and stored in persistence storage. Certain other integration products provide out-of-the-box functionality on auditing as the messages are processed through the service bus. Sun JCAPS does not have such functionality. Errors captured while processing the transactions are logged into files or database for later analysis. Errors can also be played back or reprocessed. Time bound errors may not be able to be reprocessed as their validity expires after sometime. Appropriate coding techniques and model elements (e.g. try/catch in JCD and Scope and Exception handling in eInsight business process model) need to be in place to capture the errors with proper stack trace and error text to aid in resolving the error.
7. Case Studies
7.1. Case Study 1
Implementation of Trade Promotion Management
One of the leading confectionery companies in the world has strong regional presence in the beverages market in Americas and Australia. With origins stretching back over 200 years, this company employs 60,000 people is trying to integrate disparate systems due to mergers acquisitions and various partners. A current process to measure the trade promotions given to its partners is not effective. By implementing the TPM, this company expects to measure the trade spent accurately and target effective marketing programs.
Proposed Solution
Siebel solution is implemented for the Trade Promotion Management (TPM) across North America A Common Information Model (CIM) has been defined for applications to communicate within the enterprise. An EAI solution based on SeeBeyond JCAPS has been conceived to extract the data from different source systems Informatica was used to cleanse the data, remove the duplicates and harmonize the records and update the CIM golden copy. Middleware SeeBeyond JCAPS (older version of Sun JCAPS) extracted the data from the cleansed datastore and updated the Siebel Trade Promotion Management (TPM) system
After the trade promotions are set in Siebel TPM, relevant incentives for trade effectiveness are to be sent back to retailers and other suppliers. This includes getting the vendor data from source systems for issuing payment. Also, to get the TPM system to be capable of measuring the trade effectiveness the invoice and other performance information had to be brought in from source systems. Business transaction Event in SAP was enabled to send the event triggers on payments, invoices. Appropriate real-time data exchanged between the source systems (SAP) and Siebel TPM. Services were exposed for invoices and vendors wrapping the SAP BAPIs. Other JCAPS services were built to handle payment and deduction data to be posted to SAP.
One of the leading expert in the securities exchange industry in the Nordic region, client provides technology and services to companies in the securities industry around the globe. HCL is partnering with this client on creating the product for handling trading platform back-offices support, removal of legacy systems. The solution is based on HCL One Foundation architecture as depicted below.
faced
with
the
exisitng
Time to market new products Conforming to regulatory compliance Extending services to application service provider (ASP) and Business Service Provider (BSP) model Changes to existing system difficult
Proposed Solution
Build a SOA and ESB based Securities Processing System Solution to handle ASP and BSP model First phase to get the data synchronization with operation systems to synchronize with SPS data store (based on HCL One Foundation)
The system is entirely built on services based architecture. The presentation services were built on .Net thick client. The business services are built on j2ee/Spring/Hibernate framework. JCAPS business process (eInsight) exposed as a service receives the request from the .net client and invokes the business web services and returns the response to the client. JCAPS MQ and database eWays are used to retrieve the data from source systems and synchronize with the One Foundation data store by invoking the business services.
8. Conclusion
JCAPS has all integration capabilities enterprises need to embrace the integration and enterprise-wide SOA/BPM initiatives. JCAPS is a open source and based on J2EE standards. JCAPS is yet to support quite a few of the web services standards. JCAPS is proven integration tool in the market across many of the verticals and does require serious attention for the enterprises to look into.