1. Trang chủ
  2. » Công Nghệ Thông Tin

Service Oriented Java Business Integration: Enterprise Service Bus integration solutions for Java developers ppt

433 3,6K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 433
Dung lượng 7,95 MB

Nội dung

www.it-ebooks.info Service Oriented Java Business Integration Enterprise Service Bus integration solutions for Java developers Binildas C. A. BIRMINGHAM - MUMBAI www.it-ebooks.info Service Oriented Java Business Integration Copyright © 2008 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, Packt Publishing, nor its dealers or distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: March 2008 Production Reference: 1040308 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 978-1-847194-40-4 www.packtpub.com Cover Image by Vinayak Chittar (vinayak.chittar@gmail.com) www.it-ebooks.info Credits Author Binildas C. A. Reviewers Rajesh R V Rajesh Warrier Acquisition Editor Bansari Barot Development Editor Ved Prakash Jha Technical Editor Della Pradeep Editorial Team Leader Mithil Kulkarni Project Manager Abhijeet Deobhakta Project Coordinator Aboli Mendhe Indexers Hemangini Bari Monica Ajmera Proofreader Angie Butcher Production Coordinator Shantanu Zagade Aparna Bhagat Cover work Shantanu Zagade www.it-ebooks.info About the Author Binildas C. A. provides Technical Architecture consultancy for IT solutions. He has over 13 years of IT experience, mostly in Microsoft and Sun technologies. Distributed Computing and Service Oriented Integration are his mainstream skills, with extensive hands-on experience in Java and C#.NET programming. Binil holds a BTech. degree in Mechanical Engineering from College of Engineering, Trivandrum (www.cet.ac.in) and an MBA in Systems Management from Institute of Management, Kerala (www.imk.ac.in). A well-known and a highly soughtafter thought leader, Binil has designed and built many highly scalable middle-tier and integration solutions for several top-notch clients including Fortune 500 companies. He has been previously employed by multiple IT consulting rms including IBS Software Services (www.ibsplc.com) and Tata Consultancy Services (www.tcs.com) and currently works for Infosys Technologies (www.infosys.com) as a Principal Architect where he heads the J2EE Architects group servicing Communications Service Provider clients. Binil is a Sun Certied Programmer (SCJP), Developer (SCJD), Business Component Developer (SCBCD) and Enterprise Architect (SCEA), Microsoft Certied Professional (MCP) and Open Group (TOGAF8) Certied Enterprise Architecture Practitioner. He is also a Licensed Zapthink Architect (LZA) in SOA. Besides Technical Architecture Binil also practices Enterprise Architecture. When not in software, Binil spends time with wife Sowmya & daughter Ann in 'God's Own Country', Kerala (www.en.wikipedia.org/wiki/Kerala). Binil does long distance running and is a national medalist in Power Lifting. You may contact Binil at biniljava@yahoo.co.in or binil_christudas@infosys.com. www.it-ebooks.info Acknowledgement First and Foremost, I would thank God who has always showered his choicest blessings on me. I thank Him for all that he has done for me. I would like to thank PACKT and everyone I worked with—Priyanka Baruah, Bansari Barot, Patricia Weir, Aboli Mendhe, Bhushan Pangaonkar, Ved Prakash Jha, Della Pradeep and others. They worked very hard with the aggressive schedule I proposed on this book, and I truly do appreciate their contributions. Next, I'd like to thank the Technical Reviewers of our book, Rajesh R. V. and Rajesh R. Warrier. Without them, you wouldn't see the text as it appears here. Thank you for your thorough review of the scripts and testing of the code. Your reviews were very objective in pointing out issues and helping me to come up with the even better chapters. This book would have never been possible if were it not for the excellent colleagues at IBS (other than the reviewers) whom I have worked with and learned from. The most important of them are Prasanth G Nair, Shyam Sankar S, Sherry CK, Jayan P and Amritha Mathew M. Thanks are due to VK Mathews for providing all of us the opportunity. I would also like to thank Rajasekhar C. and Ajmal Khan who provided me the right challenges at the right time. Special thanks are due to Dr. Srinivas Padmanabhuni, Principal Researcher, Web Services/SOA Centre of Excellence, Software Engineering and Technology Labs, Infosys for his guidance and help. I would like to thank my wife and best friend Sowmya for being a constant source of inspiration in my life. Also my sweet little daughter Ann, I remember all those moments when you were so desperate to play with me and to go out for 'dinner' with pappa and amma, but I could not look beyond my laptop screen. Both of you are my angels, thanks for everything, especially for being in my life. www.it-ebooks.info A massive thanks must go to my Mom and Dad—Azhakamma and Christudas—who have supported their wayward son through good and lean times, and have given everything and asked for nothing. I thank the rest of my family for their support and friendship— my sister Binitha and family, my wife's mother, Pamala, and father Hubert for their unconditional encouragement and love in helping me nd the energy to complete this book. I would also like to thank Ramavarma R for supporting me through his consultancy, MacJavaB. There were many others who played their part too. Most important of them are the creators of the frameworks that have inspired me to write this book. Thank you for the JBI specication and special thanks to the ServiceMix developer and user community. Last, it's necessary to thank you, the reader, for choosing to buy this book. I understand that you have a specic intention in choosing to read this book and I hope I take only the minimum required time from your busy schedules to serve your requirements. www.it-ebooks.info About the Reviewers Rajesh R V received his Computer Engineering degree from the University of Cochin, India. He joined the JEE community during the early days of EJB (1.0) and fully dedicated his time in core technical activities in and around Java, JEE. During the course as a solution architect, he has worked on many large scale mission critical projects, including the New Generation Passenger Reservation System (400+ Man Years) and Next Generation Cargo Reservation System (300+ Man Years), in the Airline domain. Rajesh is also Sun Certied Java Enterprise Architect and BEA Certied Weblogic Administrator. Rajesh is currently working with Emirates Airlines IT Division based in Dubai and his work is mainly in Consulting, Application Framework development, Technology Evaluations and SOA related topics. All my thanks goes to my wife Saritha for supporting me and loving me even though I booked a lot of personal time to review this book. Rajesh Warrier, currently working as one of the lead system architects in Emirates Group IT, has around 10 years experience in the industry working with companies like Sun Microsystems. He has been responsible for architecting and designing many mission critical enterprise applications using cutting edge technologies. He is currently working as an architect and mentor for the new generation cargo system for the emirates airlines, developed completely using JEE. www.it-ebooks.info www.it-ebooks.info Table of Contents Preface 1 Chapter 1: Why Enterprise Service Bus 7 Boundary-Less Organization 8 Multiple Systems 8 No Canonical Data Format 8 Autonomous, but Federated 9 Intranet versus Internet 10 Trading Partners 10 Integration 11 Enterprise Application Integration 12 Integration Architectures 12 Point-to-Point Solution 13 Hub-and-Spoke Solution 13 Enterprise Message Bus Integration 15 Enterprise Service Bus Integration 16 Enterprise Service Bus versus Message Bus 17 Similarities and Differences 17 Maturity and Industry Adoption 19 Making the Business Case for ESB 20 How many Channels 20 Volatile Interfaces 22 New Systems Introducing Data Redundancy 22 Service Reuse 23 System Management and Monitoring 23 Enterprise Service Bus 23 Service in ESB 23 Abstraction beyond Interface 24 Service Aggregation 25 Service Enablement 26 Service Consolidation 26 www.it-ebooks.info [...]... be generating business code as well as business integration code The traditional Java/ J2EE APIs provide you with enough tools and frameworks to do the business coding The business code will help you to implement a business service such as creating orders or finding products On the contrary, business integration code wires together multiple applications and systems to provide seamless information flow... of information exchange across systems and services, among other things This is where the new Java API for Integration Java Business Integration (JBI) seeks attention JBI provides a collaboration framework which has standard interfaces for integration components and protocols to plug into, thus allowing the assembly of Service Oriented Integration (SOI) frameworks following the Enterprise Service Bus. .. also introduce Enterprise Service Bus (ESB) architecture, and compare and contrast it with other integration architectures Then we can better understand how Java Business Integration (JBI) helps us to define ESB-based solutions for integration problems In this chapter we will cover the following: • Problems faced by today's enterprises • Enterprise Application Integration (EAI) • Different integration. .. Web Service and JMS Specifications for Web Service Reliable Messaging SOAP over HTTP versus SOAP over JMS JMS in ServiceMix Servicemix-jms Consumer and Provider Roles servicemix-jms XBean Configuration servicemix-jms Lightweight Configuration Protocol Bridge Web Service in the JMS Channel Binding Sample ServiceMix Component Architecture for the JMS Web Service Deploy the Web Service XBean-based servicemix-jms...Table of Contents Service Sharing Linked Services Virtualization of Services Services Fabric Summary 27 28 29 30 30 Chapter 2: Java Business Integration 31 Chapter 3: JBI Container—ServiceMix 57 SOA—the Motto Why We Need SOA What is SOA? SOA and Web Services Service Oriented Integration (SOI) JBI in J2EE—How they Relate Servlets, Portlets, EJB, JCA,... quick tour on Enterprise Integration and the associated issues so that you can better understand the problem which we are trying to solve, rather than following a solution for an unknown problem We also introduce Enterprise Service Bus (ESB) architecture and compare and contrast that with other integration architectures Chapter 2 introduces Java Business Integration (JBI) and inspects the need for another... message bus using proprietary bus APIs, and application APIs The Message bus also requires a common command structure representing the different possible operations on the bus These command sets invoke bus- level primitives which includes listening to an address, reading bytes from an address, and writing bytes to an address [ 15 ] www.it-ebooks.info Why Enterprise Service Bus Enterprise Service Bus Integration. .. HTTP Service in ServiceMix Run ServiceMix Basic JBI Container Run a Client against ServiceMix What Just Happened in ServiceMix Spring XML Configuration for ServiceMix Summary Chapter 4: Binding—The Conventional Way Binding—What it Means Binding Endpoints Apache SOAP Binding A Word about Apache SOAP Apache SOAP Format and Transports RPC and Message Oriented Binding Services Sample Bind a Stateless EJB Service. .. already done Understanding the difference will enable the integration architect to attach prescriptive architecture for a given integration problem Let us now understand the basic integration architectures that are listed as follows: • Point-to-Point solution • Hub-and-Spoke solution • Enterprise Message Bus IntegrationEnterprise Service Bus Integration [ 12 ] www.it-ebooks.info Chapter 1 Point-to-Point... message bus with the help of request-response queues If a consumer application wants to invoke a particular service on a different provider application, it places an appropriately formatted request message on the request queue for that service It then listens for the response message on the service' s reply queue The provider application listens for requests on the service' s request queue, performs the service, . www.it-ebooks.info Service Oriented Java Business Integration Enterprise Service Bus integration solutions for Java developers Binildas C. A. . Solution 13 Enterprise Message Bus Integration 15 Enterprise Service Bus Integration 16 Enterprise Service Bus versus Message Bus 17 Similarities and Differences

Ngày đăng: 07/03/2014, 06:20

TỪ KHÓA LIÊN QUAN

w