Mule ESB - Rich Software

2y ago
36 Views
2 Downloads
986.41 KB
42 Pages
Last View : 9d ago
Last Download : 3m ago
Upload by : Lucca Devoe
Transcription

Mule ESB Integration SimplifiedRich Remingtonrremington@Rich-Software.com

Topics 2Integration, SOA, and ESBWhat Mule ESB is (and isn’t)Mule Architecture & ComponentsConfiguration & DeploymentEnterprise Integration PatternsMain DemoWrap-up & questionsAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Goals Educate 1.* people about Mule ESB & howto simplify integration projectsGive back to an awesome communityHave a bit of funConfirm “laziness” is a good thing!– 3At least some of the time Convince you it’s safe, easy, and fun, to “geton the bus”All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Background Who am I?–– The bucket of water story–4Mathematician wannabe turned software guyA bit lazyMoral: don’t work harder than you have to - it’sokay to be lazy ;-)All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

3 R’s - Plan to be Lazy :-)Reduce –Code complexity & bloatRefactor –Move code to its proper place Reuse ––5Transformation, Routing, Service ComponentPlan ahead for service/component reuseUse pre-built components & solutionsAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Integration Projects Why we integrate––Users don't care where business functions andinformation resideWe don't always own or control all the pieces ––6intranet & external partnersCheaper than building new solutions from scratchUsers want access to information from variousdevices - browsers, mobile phone, handhelds, .All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Integration Projects How we integrate––––Set up meetings with business domain expertsIdentify systems and processesMore meetings Map data flows then model ––– 7Patterns are extremely helpfulYet more meetings Define services & message formatsStart coding away But, then what happens?All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Integration Projects Three things in life are certain:––– Plan for change–––8DeathTaxesRequirements will change often!Design & build service/object interfaces for reuseTake advantage of loose couplingSwitch implementations or protocols as neededover time, but not the interfaceAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Integration ChecklistService InterfacesCreate an Integration ProfileMule TopologyService IdentificationModel Event FlowsPl anni ngMap Data FlowsPerformance RequirementsSecurityRedundancy Requirements9I mp l ement at i onIdentify Processes and SystemsFault HandlingData TransformationsTest Use-casesService ImplementationQoS RequirementsEndpoint QoS, SecurityDefine Message FormatsFunctional TestingAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Integration Approaches/Technologies Custom, point-to-point solutions– Service Oriented Architecture (SOA)–– Enables loose coupling of services that are OS &programming language independentWeb services (SOAP, REST), RPC, CORBA, etc.Enterprise Service Bus (ESB)–––10Information silos live onHelps orchestrate & manage the chaosGood place to centralize general servicesEncourages best practicesAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

The Bus“There are going to be times whenwe can't wait for somebody. Now,you're either on the bus or off thebus. If you're on the bus, and youget left behind, then you'll find itagain. If you're off the bus in thefirst place — then it won't make adamn.”-- The Electric Kool-Aid AcidTest (1968)11All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Daily Double 12What are two of the 3 R’s?What was the moral of the “bucket of water”story?Name the Integration Approach I’msuggesting you useAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Audience Poll How many of you ––––––13Need to integrateAre using point-to-point integration solutionsAre doing SOA (SOAP, REST, RPC, )Not doing SOA, but planning toAre using an ESBNot doing ESB, but planning toAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Why use an ESB Integration Styles–––––BatchFile TransferShared DatabaseRequest/ReplyMessaging 14SynchronousAsynchronous ESB Advantages–––––––Supports all stylesBridges legacy systemsModular architectureSimple and flexibleEasy to test and maintainScalableCan be a step towardsSOAAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

8-APR-2009Why use an ESB (before)15All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

8-APR-2009Why use an ESB (after)16All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

What is Mule ESB?“Muleis a lightweight integration platform and servicecontainer that allows you to quickly and easilyconnect your applications together. Mule provides arobust, secure and scalable platform to buildenterprise applications offering an array of transportssuch as JMS, HTTP, Email, FTP, JDBC and manymore. It also offers a rich set of features for webservices, message routing, mediation, transformationand transaction management. Designed around theESB (Enterprise Service Bus) concept.”-- www.mulesource.org17All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

What is Mule ESB?“Muleis a lightweight integration platform and servicecontainer that allows you to quickly and easilyconnect your applications together. Mule provides arobust, secure and scalable platform to buildenterprise applications offering an array of transportssuch as JMS, HTTP, Email, FTP, JDBC and manymore. It also offers a rich set of features for webservices, message routing, mediation, transformationand transaction management. Designed around theESB (Enterprise Service Bus) concept.”-- www.mulesource.org18All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

What is Mule ESB?19Service creation and hosting Expose transport end-points, EJBs, Spring beans, and POJOs asmodular and reusable services Host services as a lightweight service containerService mediation Separate business logic from messaging Shield service components from message formats and protocols Enable location-independent service callsMessage routing Route messages based on content and complex rules Filter, aggregate and re-sequence in-bound messagesData transformation Exchange data across applications with varying data formats Transform data as needed, based on need Format messages across heterogeneous transport protocolsAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Mule: Lightweight and Adaptive20Adaptiveintegration Standards-based and vendor-neutral Seamless integration with existing infrastructure Plug-in architecture allows for building blockapproach Use with any application server or standaloneDevelopmentsimplicity Simplifi ed programming model Ease of use through confi guration and control Rapid development and deployment throughcode reuseOpen sourceadvantage No expensive up-front license commitments Access to source code allows customization andlowers risk Vibrant developer community delivering bestpractices and modulesAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

What Mule ESB isn’t It does not place restrictions on your environmentIt is not message queuing, it uses other (JMScapable) products– It is not complexIt does not need to be “the grand master of allintegration endpoints across the enterprise”––21And, it does not require message queuesThink big, start smallIt plays nicely with other ESBsAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Why use Mule ESB 22Decouples Business LogicLocation TransparencyTransport ProtocolConversionMessage TransformationMessage RoutingMessage EnhancementReliability (Transactions)SecurityScalabilityAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Why choose Mule No prescribed message format–– Zero code intrusion–– –POJOs, IoC Objects, EJB Session Beans, Remote ObjectsREST & Web ServicesEasy to test–––23Mule does not impose an API on service objectsObjects are fully portableExisting objects can be managed– XML, CSV, Binary, Streams, Record, Java ObjectsMix and matchMule can be run easily from a JUnit test caseFramework provides a Test compatibility kitScales down as well as upAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Mule ESB Architecture 24Architecture is based on concepts discussedin Enterprise Integration PatternsAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Mule Components Endpoint– Transformer– Message flow control (inbound/outbound)Service Component–25Message transformation / enhancementRouter– Channel, MessageReceiver, ConnectorYour integration logic lives hereAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Mule Configuration 26Spring basedmule-config.xml(default)Multiple config filesusing importAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Daily Double 27Name two reasons to use Mule ESBName one thing Mule ESB isn’tName two Mule ComponentsAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Mule Examples (mini-demo) Download Mule– Configure the environment– MULE HOME, JAVA HOMEecho /Downloadoptions 1 & 3, show configAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Mule Deployment 29StandaloneEmbed in servlet containerJCA 1.5 resource adapterAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Mule Deployment Topologies 30Enterprise Service BusAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Other Deployment TopologiesMule also supports: pipeline peer network client/server hub-and-spoke, etc.Combine them to makean ESN31All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Enterprise Integration Patterns Message Filter– Message Translator– Route message based on contained dataMessaging Bridge–32add additional data to messageContent-based Router– Transformer: change format, tag names, etc.Content Enricher (Message Enhancement)– Service component receives specific message typesSend message between different protocols or messagingsystemsAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Enterprise Integration Patterns (cont.) Content Filter– Polling Consumer– Batches, Lists, Collections, etc.Wire Tap–33Send to multiple endpoints / aggregate repliesSplitter– File directory, email, FTPScatter-Gather– Shrink message to fewer data itemsInspect messages during flight (logging, monitoring, etc.)All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Main Demo Set the stage [see diagrams]–– Show demoShow code––34Describe scenarioConfigurationTransformer(s)Service Component(s)All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Main Demo - Scenario35All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Other MuleSource Goodies MuleForge–Mule extensions, mostly provided by community Mule Galaxy – SOA governance platform with an integratedregistry/repositoryMule ESB Enterprise–Subscription based support that includes 36Mule IDE, modules, tools, transports, etc.Mule HQ : systems monitoring / managementPremium connectors (e.g. IBM Websphere MQ)Online knowledgebase & support linksAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

The Bus“The bus came by and Igot on, that's when it allbegan.”-- "The Other One" bythe Grateful DeadSo, get on the bus!37All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Audience Poll How many of you ––––38learned something about Mule ESB?learned something you didn’t know aboutintegration patterns?had a bit of fun?will think more about how to be lazy?All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Summary 39Integration ProjectsWhat Mule ESB is (and isn’t)Mule Architecture, Components, DeploymentEnterprise Integration PatternsEasy to implement integration scenariosPlan to be lazy :-)All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Double Jeopardy 40Send me a use-case for Mule ESB within yourorganization using the contact form on the RSIwebsite (www.rich-software.com/main/contact)Put “Mule ESB use-case” in the subjectThe use-case must be received within 48 hours ofthis talk to be eligible for a prizeI will buy two lucky people a free lunch that includesup to two hours of free business analysis on youruse-case and/or mentoring on Mule ESB. And, youwill receive one of the Manning books!All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Resources Mule ESB:–– Open Source ESBs In Action– http://www.enterpriseintegrationpatterns.comMule In Action (July 2009)–41http://www.esbinaction.comEnterprise Integration Patterns– http://www.mulesource.org (Community)http://www.mulesource.com (Enterprise)http://www.manning.com/dossotAll content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

Thank you!Questions?42All content copyright 2009, Rich Software Inc; portions copyright 2009, MuleSource Inc. All rights reserved.1-SEP-2009

What is Mule ESB? “Mule is a lightweight integration platform and service container that allows you to quickly and easily connect your applications together. Mule provides a robust, secure and scalable platform to build enterprise applications offering an array of transports such as JMS, HTTP, Email, FTP, JDBC and many more.

Related Documents:

Mule ESB Support 7 Mule HA Clustering offers superior total cost of ownership and superior performance to many alternative approaches and is a fully supported configuration that is backed by the Mulesoft the company behind the worlds most popular Open Source ESB. 9 Summary As the leading open source enterprise service bus, Mule ESB is stable .

Server from Microsoft, Fuse ESB (Enterprise Service Mix), JBoss Enterprise Service bus, Mule ESB, Open ESB, PEtALS ESB, WSO2 Enterprise Service Bus, Oracle Enterprise Service bus and Oracle Service bus by Oracle and bunch of other Messaging Middleware on the market. Meanwhile there is no global standard for ESB, some expert prune down

Spring Integration vs. Mule ESB vs. Apache Camel . www.mwea.de 1) Systems Integration 2) Integration Frameworks 3) Spring Integration 4) Mule ESB 5) Apache Camel 6) And the Winner is . Agenda Kai Wähner 11.06.2012 Seite 15 . www.mwea.de Wishes Kai Wähner 11.06.2012 Seite 16 .

3. We have to just unzip the downloaded file and go to bin directory of mule runtime. 4. In MS windows Operating system we have to run mule.bat file with admin privilege. 5. Mule will deploy default app and up now. Now you can manually deploy mule app by just past mule app zip file at app directory of runtime and check log in log directory. 6.

For a quick comparison of these ESB products, view the online ESB comparison matrix. Affordability Cost has been a major obstacle to widespread ESB adoption, and open source ESB software makes application integration affo

Create Requirements Matrix Review Reports – Gartner, Forester, Oasis . ESB Selection Criteria ! . Enterprise Service Bus (ESB) 3. Message Queue 4. Web Services (SOAP and RESTful) 5. . ESB References ESB Heatmap Comparison Likn to heatmap ESB Evaluation Summary

safety provisions will be advised by ESB (BSC) in the enquiry documents and/or will be advised directly prior to commencing work. 1.5. ESB (BSC) Safety Statement The ESB Business Service Centre and local Safety Statement(s) are available for examination on request. These identify the common hazards encountered in ESB locations.

Introduction to Quantum Field Theory John Cardy Michaelmas Term 2010 { Version 13/9/10 Abstract These notes are intendedtosupplementthe lecturecourse ‘Introduction toQuan-tum Field Theory’ and are not intended for wider distribution. Any errors or obvious omissions should be communicated to me at j.cardy1@physics.ox.ac.uk. Contents 1 A Brief History of Quantum Field Theory 2 2 The Feynman .