http://www.developer.com/design/article.php/3341201/B2B-IntegrationmdashA-Case-Study.htm
This article presents a B2B integration scenario with a case study. Various approaches for integration are considered in the case study before a final solution is presented. The article does not intend to give an overview of the B2B initiative. The intended audience must have an understanding of the B2B paradigm. Business-to-Business (B2B) e-commerce is a subject that has reached front-page status in the popular press. Although there is confusion between the B2B and B2C integration paradigms, there are differences that go much deeper than the differences between retail and wholesale purchasing. B2B integration is fundamentally about coordinating information among businesses and their information systems. In today's world with companies operating in a global business environment, B2B integration is a pre-requisite for them to remain competitive. They need to come out of their shell and interact with their suppliers, partners, and customers distributed throughout the world. B2B integration enables a company to focus on its core competencies and offload other services to partners to gain efficiency and reduce cost. After a decade of spending on expensive ERP systems, Customer Relationship Management, and e-Commerce applications in a departmental manner, companies are turning their attention to integrating these information silos. However, if this integration is done on a point-to-point basis, these companies end up spending up to 35% of their software maintenance budgets on simply maintaining these connections. Simply connecting applications on a point-to-point basis is not enough. Without a thoroughly integrated internal infrastructure, B2B initiatives are sure to provide little value in the best-case scenario, or no value in the worst. Royal Wallace is a UK-based energy company that has been operating for the last 60 years. Its business model is based on supply chain management. It has disparate business processes within the organization that need to be seamlessly integrated with its Business Associates (BA) as well as the internal users. But, the network bandwidth that is available for this integration scenario is only 64 Kbps. Also, the company wants a synchronous mode of integration rather than an asynchronous one. This is to enable a request-response type of interaction with the company's associates and partners over the network. Because there are hundreds of connection points (target applications at the BA's end) in this scenario, the company wants minimal overhead of installing and maintaining the infrastructure and the software required. And, last but not the least, the company wants a low-cost integration solution. Figure 1: Business Model of Royal Wallace Company EAI (enterprise application integration) is a business computing term for the plans, methods, and tools aimed at modernizing, consolidating, and coordinating the computer applications in an enterprise. Typically, an enterprise has existing legacy applications and databases and wants to continue to use them while adding or migrating to a new set of applications that exploit the Internet, e-commerce, extranet, and other new technologies. EAI may involve developing a new total view of an enterprise's business and its applications, seeing how existing applications fit into the new view, and then devising ways to efficiently reuse what already exists while adding new applications and data. In the simplest terms, EAI is the process of coordinating the operation of various applications across an enterprise so that it can perform as an integrated enterprise-wide system. Several EAI tools by leading vendors are available in the market today—TIBCO, Seebeyond, Vitria, and MQ Series to name a few. The underlying architecture in these tools is generally a 'Hub and Spoke' model or 'Integration bus architecture.' These tools work on the control broker-adapter model wherein an application-specific adapter sits in the client end and interacts with the control broker to pass the messages/events to the target applications. Figure 2 shows a typical integration scenario in one of the most popular EAI tools, called Seebeyond. Figure 2: EAI integration using Seebeyond (For more information on Seebeyond, visit the link www.seebeyond.com). Royal Wallace Company tried the EAI approach for integrating with its internal users. This approach was not quite successful because of the high cost of licensing the software and support that was involved thereafter. Although the approach offered features such as security and guaranteed delivery as part of the product, the hidden costs made it a less viable solution. Pros Cons Electronic Data Interchange is a subset of Electronic Commerce. It is a set of standardized electronic business documents that are exchanged in agreed-upon formats. It is about doing business and carrying out transactions with your trading partners electronically. EDI covers most things that are traditionally done using paper-based communication. It is not a new concept or a new practice. EDI has existed for more than two decades in Europe and North America. Early electronic interchanges used proprietary formats agreed upon between two trading partners requiring new programs each time a new partner was added to the existing system. Later on, some industry groups began a cooperative effort to develop industry EDI standards for purchasing, transportation, and financial applications. Many of these standards supported only intra-industry trading, which led to a large number of EDI formats. Figure 3 depicts an integration scenario with EDI. Figure 3: EDI enabled integration over a value added network (VAN) The major problem that the Royal Wallace Company faced with the EDI approach was to describe the rules and semantics for each piece of information to be exchanged with the BAs. Also, the VAN (Value Added Network) bandwidth requirement was more than that available for the integration scenario (64 kbps). Moreover, the EDI approach is more suited for batch processing rather than a request-reply mode of interaction. The Royal Wallace Company had to do away with the EDI approach. Pros Cons Web Services is a distributed computing technology, which is defined by loosely coupled, dynamically located software components on the Web. These components break down the larger software system into smaller logical modules, or shared services. These services can reside on different systems and can be implemented by vastly different technologies, but they are packaged and transported using standard Web protocols, such as XML and HTTP, thus making them easily accessible by any user on the Web. Web Services typically work on the Register, Discover, and Invoke models. Figure 4: Web services deployment model Royal Wallace Company was skeptical about the Web services approach for its integration requirement. Although Web services are fast becoming a de-facto standard with support from industry heavyweights as Microsoft, IBM, HP, Sun, and Oracle, it is still not widely used for e-commerce–related transactions on the Web. The overhead of the maintenance of IT staff required to maintain the application and the inherent issues associated with Web applications such as availability made the company decide to do away with this cutting-edge technology. Figure 5 shows the Web services implementation in the Royal Wallace business model. Figure 5: Web services implementation in Royal Wallace Business model Pros Cons Compare the three approaches considered here.... Extensible markup language (XML) is a specification developed by the W3C. XML is a pared-down version of Standard Generalised Mark-Up Language, designed especially for Web documents. XML is a programming language that enables designers to create their own tags to indicate specific information. It allows designers to create their own customized tags, enabling the definition, transmission, validation, and interpretation of data between applications and between organizations. XML is similar to the language used for Web pages, the Hypertext Markup Language (HTML), in that both use markup codes (tags). Computer programs can automatically extract data from an XML document, using its associated DTD as a guide. XML represents complex structures easily and a number of parsers are available off the shelf, free of cost, to parse the XML data. Figure 6 shows the XML over HTTP implementation scenario in Royal Wallace Company. Figure 6: XML over HTTP implementation (SiteMinder is a third-party authorization tool) Because Http clients are available in various programming languages, Royal Wallace Company could easily integrate with all the target applications with any changes at the Business Associate's end. The client sends out a request/message in the form of an XML document to the company. After validating the user with some third-party package at the company's end, Royal Wallace Company could generate the output in the form of an XML document and send it back to the requester (BA) along with the schema DTD. Thus, the company could finally achieve a low-cost, request-reply mode of integration with this approach. The question that arises is 'Is the XML over HTTP solution a lightweight Web Service?' The following table gives a comparison of the two approaches: However, in this case study, XML over HTTP gained over other viable solutions in meeting the client requirements for B2B integration. The designer of the solution should keep all the pros and cons of each approach in mind and go for the best suited approach/implementation for their requirements. White Papers are posted at the following locations: http://eai.ebizq.net www.xml.org Manoj Seth is a senior software engineer at Hewlett-Packard, India. He is a Post Graduate from the Indian Institute of Information Technology, Bangalore. Manoj has been involved in designing and developing J2EE-based solutions over various platforms in the domains of Financial/Banking and Middleware for more than two years. He has good exposure to Web Services and their emerging standards in development/deployment and management space. He can be contacted at manoj_seth@hp.com. Tarun Gupta is an Integration Analyst at Wipro Technologies, India. He is a Post Graduate from the Indian Institute of Information Technology, Bangalore. Tarun has around four years of experience in the integration domain. He has used various tools such as WebMethods, Seebeyond, and TIBCO to provide solutions in manufacturing and telecomm domains. He can be contacted at gupta.tarun@wipro.com.
B2B Integration-A Case Study
April 16, 2004
Brief Introduction to B2B
Business Case Introduction

Approaches Considered
Enterprise Application Integration (EAI)

Click here for a larger image.
Electronic Data Interchange (EDI)

Click here for a larger image.
Web Services


Click here for a larger image.
Approach
Timescale to Develop
Changes in H/W & S/W
Maintenance Effort
Cost of Option EAI
Low
Yes
Low
High—licenses from Vendor EDI
Low-Medium
Yes
Low-Medium
Medium-High Web Services
High
Yes
Medium-High
Low (Based on s/w chosen Feasible Solution: XML over HTTP
Advantages of using HTTP as an Interface Protocol

Click here for a larger image.
Conclusion
Task
Web Services
XML over HTTP Publishing
Services published to Service broker using UDDI
URLs directly published to Requester Communication medium
HTTP, SMTP, FTP, JMS, IIOP, etc.
HTTP Message format
SOAP
XML defined by Schemas Descriptions
WSD
XML Schemas Base technology
XML
XML Accessibility
Synchronous and asynchronous
Synchronous
References
http://www.eaijournal.comUseful Links
www.knowledgestorm.comAbout the Authors