Practical Open Source

Total Page:16

File Type:pdf, Size:1020Kb

Practical Open Source "Web Age Speaks!" Webinar Series Practical Open Source SOA Introduction Mikhail Vladimirov Director, Curriculum Architecture [email protected] Web Age Solutions Providing a broad spectrum of regular and customized training classes in programming, system administration and architecture to our clients across the world for over ten years ©WebAgeSolutions.com 2 Overview of Talk SOA definition Enterprise Integration Patterns Presentation services What is an ESB? Messaging Business Process Management ©WebAgeSolutions.com 3 Practical Open Source SOA SOA definition SOA definition The OASIS (Organization for the Advancement of Structured Information Standards) consortium describes SOA as a paradigm for matching needs and capabilities in a distributed environment Service consumers have needs Service providers offer capabilities SOA facilitates matching needs with capabilities SOA facilitates this matching in a distributed fashion across ownership domains ©WebAgeSolutions.com 5 SOA definition Some people gave up on trying to define what SOA is, saying that it means whatever best suites the person using the term Others even claim that SOA benefits were overhyped and it is de-facto dead (circa 2009) SOA is survived by its offspring: mashups, BPM, SaaS, Cloud Computing, and all other architectural approaches that depend on “services”. [http://apsblog.burtongroup.com/2009/01/soa-is-dead-long- live-services.html] Everybody seems to agree, however, that SOA (whatever it is) is not about specific technology, it is about thinking in terms of services, capabilities and their interactions. It is a style of design ©WebAgeSolutions.com 6 Too Much Prescriptive Technology Source: @stilkov - http://www.innoq.com/blog/st/ ©WebAgeSolutions.com 7 Why Open Source SOA? OSS Frameworks and Tools have reached a level of technology maturity to qualify for specific use cases in Enterprise You can use the OSS products most appealing to you with the low Cost of Entry. If needed, get development, deployment and 24x7 product support with low TCO Source: www.WSO2.com ©WebAgeSolutions.com 8 Practical Open Source SOA Enterprise Integration Patterns EIP The book by Gregor Hohpe and Bobby Woolf (http://www.enterpriseintegrationpatterns.com/toc.html) Formalizes Enterprise Integration Solutions in 65 Patterns that help assemble elements of SOA infrastructure ©WebAgeSolutions.com 10 Integration Tools & Platforms The solutions and approaches described in Hohpe’s book are relevant for integration tools and platforms such as IBM WebSphere MQ, TIBCO, Vitria, SeeBeyond, WebMethods, or BizTalk, messaging systems such as JMS,WCF, or MSMQ, ESB's such as Sonic, Fiorano, ServiceMix, Mule, Apache Synapse, or WSO2, and SOA and Web-service based solutions. ©WebAgeSolutions.com 11 One Real-World Enterprise System Architecture Source: http://www.infoq.com/presentations/3-SOA-Case-Studies-Paul-Fremantle ©WebAgeSolutions.com 12 Practical Open Source SOA Presentation Services Liferay: Open Source Java Portal Liferay implements JSR 268 Portal API Delivers open source enterprise solutions for portals, publishing, content, and collaboration Runs in servlet containers (Jetty, Tomcat) and existing JEE application servers Ready for the Enterprise: Clusterable configuration for high availability Implements top ten OWASP-recommended security practices Options for Terracotta, Oracle RAC, and other scalability solutions Simplified UI development User, Group management Secure SSO Role-based content delivery Auditing & Performance Monitoring Multi-language Support ©WebAgeSolutions.com 14 Simpler and More Flexible … Liferay folks claim that their Portal is Simpler than WebSphere®: • Deploy Liferay in a week to get a full solution for portals, content and collaboration for less than the cost of a single WebSphere® CPU. More flexible than SharePoint®: • Unlike SharePoint®, Liferay runs in non-Microsoft environments, is easy to customize, and integrates with your existing applications. ©WebAgeSolutions.com 15 Liferay IDE Liferay IDE is a set of Eclipse plug-ins supporting development of Liferay Portal applications and artifacts: portlets, hooks, layout templates, themes, and EXT-style plug-ins An Enterprise Edition (EE) of the IDE called Liferay Developer Studio is also available to current or potential EE customers; it includes support for Websphere and Weblogic server adapters ©WebAgeSolutions.com 16 Liferay IDE ©WebAgeSolutions.com 17 Liferay IDE ©WebAgeSolutions.com 18 Liferay Server Administration ©WebAgeSolutions.com 19 Liferay System Libraries (WEB-INF\lib folder) ©WebAgeSolutions.com 20 Liferay Technology Stack ©WebAgeSolutions.com 21 Practical Open Source SOA What is an ESB? ESB Defined Enterprise Service Bus (ESB) is an Architectural Pattern From the SOA perspective, ESB can be used as an integration platform that enables existing IT assets and applications to be exposed as services Important part of an SOI (Service Oriented Infrastructure) ©WebAgeSolutions.com 23 ESB vs. EAI Most ESB vendors in the past were also (surprise!) enterprise application integration (EAI) solution providers (IBM WebSphere Message Broker, TIBCO Business Works, and Sonic XQ)) Two main differences between ESB and EAI: ESB implements the bus-based architecture while EI solutions use hub-and-spoke architecture For the most part, EAI solutions used proprietary technologies and data formats. ESB products use open standards for communication and data exchange (WSDL, XSD, XML, SOAP, REST, JMS, JEE Connector Architecture, etc.) JBossESB positions itself as the next generation of EAI (without vendor lock-in) ©WebAgeSolutions.com 24 ESB – Big Picture Source: Wikipedia ©WebAgeSolutions.com 25 ESB Distilled The Service Provider is completely decoupled from the Consumer ESB transparently connects consumer(s) with provider(s) ESB can introduce such enterprise services as security, audit, throttling, HA, etc., protecting the Service Provider ©WebAgeSolutions.com 26 ESB on eBay ©WebAgeSolutions.com 27 ESB Core Functionality Message routing (message header/content based; rules-based) Location transparency (service consumer is decoupled from provider) Transport protocol conversion (HTTP, JMS, TCP, File, etc.) Connectivity and interoperability (a/synchronous; p2p, pub/sub) Message mediation (via adapters, protocol transformation and service mapping) QoS (security: authentication authorization, encryption; audit; extensibility; interoperability; HA; transactional support; etc.) Message manipulation (transformation from one format into another) and enhancement Monitoring & Management ©WebAgeSolutions.com 28 JBoss ESB JBoss ESB started by acquiring enterprise- ready Rosetta messaging product Rosetta was developed using JBoss Enterprise Middleware Suite (JEMS) technologies and has been used as a messaging backbone for a large insurance provider in Canada, handling data from 3,000 employees in 40 locations and two million customers for nearly three years ©WebAgeSolutions.com 29 JBoss ESB Features Can run on many Java Application Servers Tight integration with JBoss LGPL v2.1 Community and Enterprise versions offered Registry support JAX-R jUDDI SOA Software UDDI Eclipse IDE integration jBPM integration Extensive Messaging support: HornetQ, JBoss Messaging, MRG, JBossMQ, Oracle AQ and MQSeries ©WebAgeSolutions.com 30 JBoss ESB Architecture Source: http://www.jboss.org/jbossesb ©WebAgeSolutions.com 31 Mule ESB Mule ESB is a lightweight Java-based enterprise service bus (ESB) and integration platform Can run in a servlet container or stand-alone It is built on the Staged Event-Driven Architecture (SEDA) principles Supports 30+ protocols and technologies Offers Eclipse IDE-based Mule Studio Comes in two editions: Community and Enterprise Enterprise Edition comes with: HA (available only with Platinum subscription) WebSphere MQ Connector Service Registry (Galaxy) Management Console ©WebAgeSolutions.com 32 Mule ESB Features ©WebAgeSolutions.com 33 Mule ESB Anatomy ©WebAgeSolutions.com 34 Apache ServiceMix Supports JBI and JCA as well as a wide range of connectors Deployed in any servlet container Offers a container for OSGi-based service bundles Sits on top of ActiveMQ and uses it for remoting and HA Main parts are: Camel for message routing CXF for web services Karaf as a lightweigth OSGi container Quartz for scheduling JMX for monitoring Historically had roots in Java Business Integration (JBI) which now is defunct (spec disbanded) Enterprise-grade FUSE project supported by RedHat is the certified ServiceMix distro which has commercial support Popular in US ©WebAgeSolutions.com 35 WSO2 WSO2 as an open source SOA project was launched in 2005 Offered under Apache 2.0 License Uses Carbon – OSGi-based runtime to host: Apache Synapse-based ESB (released in 2007) Registry Business Process Server Heavy on Axis2 Supports HA Uses Apache Zookeeper project for reliable distributed server coordination Apache Subversion (SVN) based deployment Governance Registry integration for large-scale deployments Supports distributed caching On-site development / training / consulting and 24x7 product fee-based support available (no separate Enterprise edition) ©WebAgeSolutions.com 36 WSO2 Logical Architecture ©WebAgeSolutions.com 37 WSO2 Network Deployment Source: http://wso2.com ©WebAgeSolutions.com 38 WSO2 Support “WSO2 provides high-quality development services for customers requiring an augmented team during the course of a project spanning a minimum of
Recommended publications
  • Focus on Apache Camel 23 3.1 Classification
    Institute of Architecture of Application Systems University of Stuttgart Universitätsstraße 38 D–70569 Stuttgart Diploma Thesis No. 3480 Complete Enterprise Topologies with routing information of Enterprise Services Buses to enable Cloud-migration Andre Grund Course of Study: Software Engineering Examiner: Prof. Dr. Frank Leymann Supervisor: Dipl.-Inf. Tobias Binz Commenced: May 01, 2013 Completed: October 28, 2013 CR-Classification: E.1, K.6 Abstract The Enterprise Service Bus is an important part of todays enterprise IT landscape. It offers the integration of applications build on different platforms without adaptation. This is accomplished by offering message transformation and routing capabilities of client requests to the designated endpoint service. However, Enterprise Service Buses also introduce an additional indirection between the client and the called backend application. Enterprise Topology Graphs capture a snapshot of the whole enterprise IT and are used in various use cases for analysis, migration, adaptation, and optimization of IT. The focus of this work is to enhance the ETG model with structural and statistical information about an enterprise. However, due to the decoupled architecture the information is hidden inside the ESB and not directly accessible. Furthermore, the arrangement and semantics of the routing entities are unknown. The existing ETG Framework includes the automated discovery and maintenance of ETGs, but offers no solution for ESB components in the enterprise IT. This thesis provides an in depth analysis of the ESBs Apache Camel and Apache Synapse. It applies information gathering concepts and evaluate them with a prototypical implementation of an ETG Framework plugin. Using tailored information gathering and presentation methods to enhance ETGs with routing information.
    [Show full text]
  • SOA and Open Source
    SOA and Open Source Service Business Ma Consumers Systems Portals Web Apps M nageme onitorin g ance Business Process n nn Management t & Composite Services Gover CEP -CEP B AA SO Core Services Business AM Systems COTS Legacy Inhouse Magnus Larsson Callista Enterprise AB Vendor support of Open Source SOA • Vendors provide services for training, consulting and support on selected Open Source SOA products • MuleSource – Over 1000 mission-critical production installations worldwide! – http:// www.mu lesou rce .co m/custo me rs/casestud ies .p hp •WSO2 – http://wso2.com/about/whitepapers/ • Progress FUSE – http://fusesource.com/resources/collateral/ SOA and Open Source Copyright 2009, Callista Enterprise AB Building a SOA Reference Model… Service Business Portals Web Apps Consumers Systems Business Systems COTS Legacy Inhouse SOA and Open Source Copyright 2009, Callista Enterprise AB Building a SOA Reference Model… • Connectivity Service Business - SOAP, Rest, Messaging, Database, FTP… Portals Web Apps Consumers Systems • Transformation - XML, CSV, Fixed Position… • Routing - Header and/or Content based • Enterprise Integration Patterns - Splitting, Aggregation, Resequencing… Core Services Business Systems COTS Legacy Inhouse SOA and Open Source Copyright 2009, Callista Enterprise AB Building a SOA Reference Model… Composite Services Service Business Portals Web Apps Consumers Systems ‐ Course Grained ‐ Internal Messaging High performance access to other services CitComposite Services Core Services Business Systems COTS Legacy Inhouse SOA
    [Show full text]
  • Return of Organization Exempt from Income
    OMB No. 1545-0047 Return of Organization Exempt From Income Tax Form 990 Under section 501(c), 527, or 4947(a)(1) of the Internal Revenue Code (except black lung benefit trust or private foundation) Open to Public Department of the Treasury Internal Revenue Service The organization may have to use a copy of this return to satisfy state reporting requirements. Inspection A For the 2011 calendar year, or tax year beginning 5/1/2011 , and ending 4/30/2012 B Check if applicable: C Name of organization The Apache Software Foundation D Employer identification number Address change Doing Business As 47-0825376 Name change Number and street (or P.O. box if mail is not delivered to street address) Room/suite E Telephone number Initial return 1901 Munsey Drive (909) 374-9776 Terminated City or town, state or country, and ZIP + 4 Amended return Forest Hill MD 21050-2747 G Gross receipts $ 554,439 Application pending F Name and address of principal officer: H(a) Is this a group return for affiliates? Yes X No Jim Jagielski 1901 Munsey Drive, Forest Hill, MD 21050-2747 H(b) Are all affiliates included? Yes No I Tax-exempt status: X 501(c)(3) 501(c) ( ) (insert no.) 4947(a)(1) or 527 If "No," attach a list. (see instructions) J Website: http://www.apache.org/ H(c) Group exemption number K Form of organization: X Corporation Trust Association Other L Year of formation: 1999 M State of legal domicile: MD Part I Summary 1 Briefly describe the organization's mission or most significant activities: to provide open source software to the public that we sponsor free of charge 2 Check this box if the organization discontinued its operations or disposed of more than 25% of its net assets.
    [Show full text]
  • Avaliando a Dívida Técnica Em Produtos De Código Aberto Por Meio De Estudos Experimentais
    UNIVERSIDADE FEDERAL DE GOIÁS INSTITUTO DE INFORMÁTICA IGOR RODRIGUES VIEIRA Avaliando a dívida técnica em produtos de código aberto por meio de estudos experimentais Goiânia 2014 IGOR RODRIGUES VIEIRA Avaliando a dívida técnica em produtos de código aberto por meio de estudos experimentais Dissertação apresentada ao Programa de Pós–Graduação do Instituto de Informática da Universidade Federal de Goiás, como requisito parcial para obtenção do título de Mestre em Ciência da Computação. Área de concentração: Ciência da Computação. Orientador: Prof. Dr. Auri Marcelo Rizzo Vincenzi Goiânia 2014 Ficha catalográfica elaborada automaticamente com os dados fornecidos pelo(a) autor(a), sob orientação do Sibi/UFG. Vieira, Igor Rodrigues Avaliando a dívida técnica em produtos de código aberto por meio de estudos experimentais [manuscrito] / Igor Rodrigues Vieira. - 2014. 100 f.: il. Orientador: Prof. Dr. Auri Marcelo Rizzo Vincenzi. Dissertação (Mestrado) - Universidade Federal de Goiás, Instituto de Informática (INF) , Programa de Pós-Graduação em Ciência da Computação, Goiânia, 2014. Bibliografia. Apêndice. Inclui algoritmos, lista de figuras, lista de tabelas. 1. Dívida técnica. 2. Qualidade de software. 3. Análise estática. 4. Produto de código aberto. 5. Estudo experimental. I. Vincenzi, Auri Marcelo Rizzo, orient. II. Título. Todos os direitos reservados. É proibida a reprodução total ou parcial do trabalho sem autorização da universidade, do autor e do orientador(a). Igor Rodrigues Vieira Graduado em Sistemas de Informação, pela Universidade Estadual de Goiás – UEG, com pós-graduação lato sensu em Desenvolvimento de Aplicações Web com Interfaces Ricas, pela Universidade Federal de Goiás – UFG. Foi Coordenador da Ouvidoria da UFG e, atualmente, é Analista de Tecnologia da Informação do Centro de Recursos Computacionais – CERCOMP/UFG.
    [Show full text]
  • Hypotheses Verification for High Precision Cohesion Metric
    International Journal of Computer Science and EngineEngineeringering Open Access Research Paper Volume-2, Issue-4 E-ISSN: 2347-2693 Hypotheses Verification for High Precision Cohesion Metric Kayarvizhy N 1*, Kanmani S 2 and Rhymend Uthariaraj V 3 1*Department of Computer Science and Engineering, AMC Engineering College, India 2 Department of Information Technology, Pondicherry Engineering College, India 3Ramanujan Computing Centre, India www.ijcaonline.org Received: 03/03/2014 Revised: 19/03/2014 Accepted: 15/04/201x4 Published: 30/04/2014 Abstract— Metrics have been used to measure many attributes of software. For object oriented software, cohesion indicates the level of binding of the class elements. A class with high cohesion is one of the desirable properties of a good object oriented design. A highly cohesive class is less prone to faults and is easy to develop and maintain. Several object oriented cohesion metrics have been proposed in the literature. In this paper, we propose a new cohesion metric, the High Precision Cohesion Metric (HPCM) to overcome the limitations of the existing cohesion metrics. We also propose seven hypotheses to investigate the relationship between HPCM and other object oriented metrics. The hypotheses are verified with data collected from 500 classes across twelve open source Java projects. We have used Pearson’s coefficient to analyze the correlation between HPCM and the metrics in the hypotheses. To further bolster our results we have included p-value to confirm the statistical significance of the findings. Keywords—Object Oriented Metrics; Cohesion; High Precision I. INTRODUCTION values. Li and Henry [10] proposed their version of lack of Object oriented design and development continues to be the cohesion (LCOM3) as the number of connected components most widely used methodology for designing high quality in a graph with methods as node and edges between each software.
    [Show full text]
  • Full-Graph-Limited-Mvn-Deps.Pdf
    org.jboss.cl.jboss-cl-2.0.9.GA org.jboss.cl.jboss-cl-parent-2.2.1.GA org.jboss.cl.jboss-classloader-N/A org.jboss.cl.jboss-classloading-vfs-N/A org.jboss.cl.jboss-classloading-N/A org.primefaces.extensions.master-pom-1.0.0 org.sonatype.mercury.mercury-mp3-1.0-alpha-1 org.primefaces.themes.overcast-${primefaces.theme.version} org.primefaces.themes.dark-hive-${primefaces.theme.version}org.primefaces.themes.humanity-${primefaces.theme.version}org.primefaces.themes.le-frog-${primefaces.theme.version} org.primefaces.themes.south-street-${primefaces.theme.version}org.primefaces.themes.sunny-${primefaces.theme.version}org.primefaces.themes.hot-sneaks-${primefaces.theme.version}org.primefaces.themes.cupertino-${primefaces.theme.version} org.primefaces.themes.trontastic-${primefaces.theme.version}org.primefaces.themes.excite-bike-${primefaces.theme.version} org.apache.maven.mercury.mercury-external-N/A org.primefaces.themes.redmond-${primefaces.theme.version}org.primefaces.themes.afterwork-${primefaces.theme.version}org.primefaces.themes.glass-x-${primefaces.theme.version}org.primefaces.themes.home-${primefaces.theme.version} org.primefaces.themes.black-tie-${primefaces.theme.version}org.primefaces.themes.eggplant-${primefaces.theme.version} org.apache.maven.mercury.mercury-repo-remote-m2-N/Aorg.apache.maven.mercury.mercury-md-sat-N/A org.primefaces.themes.ui-lightness-${primefaces.theme.version}org.primefaces.themes.midnight-${primefaces.theme.version}org.primefaces.themes.mint-choc-${primefaces.theme.version}org.primefaces.themes.afternoon-${primefaces.theme.version}org.primefaces.themes.dot-luv-${primefaces.theme.version}org.primefaces.themes.smoothness-${primefaces.theme.version}org.primefaces.themes.swanky-purse-${primefaces.theme.version}
    [Show full text]
  • Towards Identifying Software Project Clusters with Regard to Defect Prediction
    Towards identifying software project clusters with regard to defect prediction Marian Jureczko, Wroc!aw University of Technology Lech Madeyski, Wroc!aw University of Technology Agenda •! Introduction •! Data acquisition •! Study design •! Results •! Conclusions Introduction Motivation – Why defect prediction? 20% of classes contain 80% of defects We can use the software metrics to predict error prone classes and therefore prioritize and optimize tests. Motivation – Why clustering projects? •! Defect prediction is sometime impossible because lack of training data: –! It may be the first release of a project –! The company or the project may be to small to afford collecting training data •! With well defined project clusters the cross-project defect prediction will be possible Definitions •!Defect -! Interpreted as a defect in the investigated project -! Commented in the version control system (CVS or SVN) •!Defect prediction model Values of Metrics for a given java class Estimated •!WMC = ... Number •!DIT = ... Model of •!NOC = ... •!CBO = ... Defects •!RFC = … •!LCOM = … •!Ca=... •!.... Data acquisition •! 19 different metrics were calculated with the CKJM tool (http://gromit.iiar.pwr.wroc.pl/p_inf/ckjm) •! Chidamber & Kemerer metrics suite •! QMOOD metrics suite •! Tang, Kao and Chen’s metrics (C&K quality oriented extension) •! Cyclomatic Complexity, LCOM3, Ca, Ce and LOC •! Defects were collected with BugInfo ( http://kenai.com/projects/buginfo) Compare CVS/SVN Bug CVS log against given & SVN regular expression metrics repository Data
    [Show full text]
  • Kuali Student Service System: Technical Architecture Phase 1 Recommendations
    Kuali Student Service System Technical Architecture Phase 1 Recommendations Kuali Student Service System Technical Architecture Phase 1 Recommendations December 31 2007 Kuali Student Technical Team Technical Architecture Phase 1 deliverables 2/14/2008 1 Kuali Student Service System Technical Architecture Phase 1 Recommendations Table of Contents 1 OVERVIEW ........................................................................................................................ 4 1.1 REASON FOR THE INVESTIGATION ................................................................................... 4 1.2 SCOPE OF THE INVESTIGATION ....................................................................................... 4 1.3 METHODOLOGY OF THE INVESTIGATION .......................................................................... 4 1.4 CONCLUSIONS ............................................................................................................... 5 1.5 DECISIONS THAT HAVE BEEN DELAYED ............................................................................ 6 2 STANDARDS ..................................................................................................................... 7 2.1 INTRODUCTION .............................................................................................................. 7 2.2 W3C STANDARDS .......................................................................................................... 7 2.3 OASIS STANDARDS ......................................................................................................
    [Show full text]
  • Edge-To-Business Value Chain Delivery Via Elastic Telemetry of Cyber-Physical Systems
    Edge-to-Business Value Chain Delivery via Elastic Telemetry of Cyber-Physical Systems DISSERTATION zur Erlangung des akademischen Grades Doktor der Technischen Wissenschaften eingereicht von Soheil Qanbari Matrikelnummer 1129801 an der Fakultät für Informatik der Technischen Universität Wien Betreuung: Univ.Prof. Dr. Schahram Dustdar Diese Dissertation haben begutachtet: Prof. Dr. Schahram Dustdar Prof. Dr. Frank Leymann Wien, 2. Dezember 2015 Soheil Qanbari Technische Universität Wien A-1040 Wien Karlsplatz 13 Tel. +43-1-58801-0 www.tuwien.ac.at Edge-to-Business Value Chain Delivery via Elastic Telemetry of Cyber-Physical Systems DISSERTATION submitted in partial fulfillment of the requirements for the degree of Doktor der Technischen Wissenschaften by Soheil Qanbari Registration Number 1129801 to the Faculty of Informatics at the Vienna University of Technology Advisor: Univ.Prof. Dr. Schahram Dustdar The dissertation has been reviewed by: Prof. Dr. Schahram Dustdar Prof. Dr. Frank Leymann Vienna, 2nd December, 2015 Soheil Qanbari Technische Universität Wien A-1040 Wien Karlsplatz 13 Tel. +43-1-58801-0 www.tuwien.ac.at Erklärung zur Verfassung der Arbeit Soheil Qanbari Schwemmgasse 2/3/55A, 1020 Wien, Austria Hiermit erkläre ich, dass ich diese Arbeit selbständig verfasst habe, dass ich die verwen- deten Quellen und Hilfsmittel vollständig angegeben habe und dass ich die Stellen der Arbeit – einschließlich Tabellen, Karten und Abbildungen –, die anderen Werken oder dem Internet im Wortlaut oder dem Sinn nach entnommen sind, auf jeden Fall unter Angabe der Quelle als Entlehnung kenntlich gemacht habe. Wien, 2. Dezember 2015 Soheil Qanbari v Danksagung “Betrachte den Menschen als ein Bergwerk, reich an Edelsteinen von unschätzbarem Wert.
    [Show full text]
  • REST Gateway Demo Documentation Release 1.0
    REST Gateway Demo Documentation Release 1.0 Hiranya Jayathilaka September 07, 2015 Contents 1 Introduction 3 1.1 Backend SOAP Service.........................................3 1.2 Synapse ESB Configuration.......................................4 1.3 Sample Client Scripts..........................................4 2 Getting Familiar with Apache Synapse5 2.1 Simple Proxy Services..........................................6 2.2 Messaging Model............................................7 2.3 REST API Support............................................7 2.4 More Documentation and Samples...................................8 2.5 Configuration Language.........................................8 2.6 WSO2 ESB................................................8 3 REST Gateway Tutorial 11 3.1 Prerequisites............................................... 11 3.2 Setting Up the Backend Server...................................... 11 3.3 Setting Up the ESB............................................ 13 3.4 Running the REST Client........................................ 14 3.5 Testing Content Negotiation....................................... 15 3.6 Tracing Messages............................................ 17 4 REST Gateway Implementation 19 4.1 Order API (StarbucksOrderAPI)..................................... 19 4.2 Order List API (StarbucksOrderListAPI)................................ 20 4.3 Error Handling.............................................. 21 5 Indices and tables 23 i ii REST Gateway Demo Documentation, Release 1.0 Contents: Contents 1 REST
    [Show full text]
  • WSO2 Administration Guide
    WSO2 Administration Guide WSO2 Administration Guide Documentation Carbon 4.4.x Platform 1 WSO2 Administration Guide Table of Contents 1. WSO2 Administration Guide . 5 1.1 Deployment and Clustering . 5 1.1.1 Key Concepts . 6 1.1.1.1 Clustering Overview . 6 1.1.1.2 Load Balancing . 7 1.1.1.3 Separating the Worker and Manager Nodes . 8 1.1.1.4 Sharing Databases in a Cluster . 10 1.1.1.5 Sticky Sessions with Manager Nodes . 11 1.1.2 Production Deployment Guidelines . 12 1.1.2.1 Security Guidelines for Production Deployment . 19 1.1.2.2 Troubleshooting in Production Environments . 25 1.1.3 Configuring rsync for Deployment Synchronization . 28 1.2 Data Stores . 29 1.2.1 Working with Databases . 30 1.2.1.1 Setting up the Physical Database . 30 1.2.1.1.1 Setting up IBM DB2 . 30 1.2.1.1.2 Setting up IBM Informix . 33 1.2.1.1.3 Setting up H2 . 34 1.2.1.1.4 Setting up MariaDB . 36 1.2.1.1.5 Setting up Microsoft SQL . 37 1.2.1.1.6 Setting up MySQL . 38 1.2.1.1.7 Setting up a MySQL Cluster . 40 1.2.1.1.8 Setting up Oracle . 40 1.2.1.1.9 Setting up Oracle RAC . 41 1.2.1.1.10 Setting up PostgreSQL . 43 1.2.1.1.11 Setting up Derby . 44 1.2.1.2 Changing the Carbon Database . 44 1.2.1.2.1 Changing to Embedded Derby .
    [Show full text]
  • Open Source SOA
    Jeff Davis MANNING Open Source SOA Licensed to Venkataramanan Tharagam <[email protected]> Licensed to Venkataramanan Tharagam <[email protected]> Open Source SOA JEFF DAVIS MANNING Greenwich (74° w. long.) Licensed to Venkataramanan Tharagam <[email protected]> For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact Special Sales Department Manning Publications Co. Sound View Court 3B fax: (609) 877-8256 Greenwick, CT 06830 email: [email protected] ©2009 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine. Development Editor: Cynthia Kane Manning Publications Co. Copyeditor: Liz Welch Sound View Court 3B Typesetter: Krzysztof Anton Greenwich, CT 06830 Cover designer: Leslie Haimes ISBN 978-1-933988-54-2 Printed in the United States of America 12345678910–MAL–16151413111009 Licensed to Venkataramanan Tharagam <[email protected]> brief contents PART 1HISTORY AND PRINCIPLES ...........................................
    [Show full text]