53
MIDDLEWARE TRACK A cura del Middleware Solution Architect team di Red Hat #redhatosd

MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

  • Upload
    others

  • View
    17

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

MIDDLEWARE TRACK

A cura del Middleware Solution Architect team di Red Hat

#redhatosd

Page 2: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Agenda Middleware Track part 1

● 14.00 MicroServices, le dimensioni non contano○ Ugo Landini, Samuele Dell’Angelo

● 14.30 Wildfly Swarm, Spring Boot & Vertx.io: il nuovo che avanza○ Ugo Landini, Samuele Dell’Angelo

● 15.00 Microservices con JBoss EAP 7: innovare in continuità○ Giuseppe Bonocore

● 15.30 Microregole per grandi progetti con il BRMS○ Andrea Leoncini

Page 3: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Agenda Middleware Track part 2

● 16.00 Integrazione e microservizi: come un cammello può passare dalla cruna di un ago○ Filippo Calà, Ugo Landini

● 16.30 API Management con 3Scale nell’era dei microservizi○ Luca Bigotta

● 17.00 SALA PLENARIA

● 17.15 ESTRAZIONE FINALE PREMI

Page 4: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

#redhatosd

Page 5: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web
Page 6: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Integrazione e Microservizi:come un cammello può passare dalla

cruna di un ago

Filippo Calà & Ugo Landini

#redhatosd

Page 7: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cosa NON è Apache Camel?

Non è un Enterprise Service Bus

Page 8: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cos’è Apache Camel?

Camel è un potente Framework Open Source di Integrazione

basato sugli Enterprise Integration Pattern

Page 9: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cos’è Apache Camel?

JBoss Fuse

Open Source Lightweight Integration Platform

Page 10: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cos’è Apache Camel?

JBoss Fuse

Architettura modulare e capacità di integrazione

Page 11: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cos’è Apache Camel?

JBoss Fuse

JBoss Fuse include Apache Camel

Page 12: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cos’è Apache Camel?

JBoss Fuse

Facile da estendere

Page 13: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cos’è Apache Camel?

JBoss Fuse

Facile da gestire

Page 14: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Che cos’è Apache Camel?

JBoss Fuse Fa tutto quello che fanno gli ESB e molto di

più

Page 15: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Integration Framework

Page 16: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration Patterns

Page 17: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration Patterns

Page 18: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration Patterns

Page 19: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

Page 20: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from newOrder

Page 21: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from newOrderchoice

Page 22: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from newOrderchoice

when isWidget to widget

Page 23: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from newOrderchoice

when isWidget to widget otherwise to gadget

Page 24: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from (newOrder)choice

when (isWidget) to (widget) otherwise to (gadget)

Page 25: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from (newOrder).choice()

.when(isWidget) .to(widget) otherwise().to(gadget);

Page 26: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from (newOrder).choice()

.when(isWidget) .to(widget) otherwise().to(gadget);

Page 27: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from (newOrder).choice()

.when(isWidget) .to(widget) otherwise().to(gadget);

Endpoint newOrder = endpoint("activemq:queue:newOrder");

Page 28: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from (newOrder).choice()

.when(isWidget) .to(widget) otherwise().to(gadget);

Endpoint newOrder = endpoint("activemq:queue:newOrder"); Predicate isWidget = xpath("/order/product = 'widget'");

Page 29: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsContent Based Router

from (newOrder).choice()

.when(isWidget) .to(widget) otherwise().to(gadget);

Endpoint newOrder = endpoint("activemq:queue:newOrder"); Predicate isWidget = xpath("/order/product = 'widget'");Endpoint widget = endpoint("activemq:queue:widget"); Endpoint gadget = endpoint("activemq:queue:gadget");

Page 30: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsJava DSL

import org.apache.camel.builder.RouteBuilder;

public class MyRoute extends RouteBuilder {public void configure() throws Exception {

from("activemq:queue:newOrder").choice()

.when(xpath("/order/product = 'widget'")).to("activemq:queue:widget")

.otherwise().to("activemq:queue:gadget");

}}

Page 31: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Enterprise Integration PatternsXML DSL

<route><from uri="activemq:queue:newOrder"/><choice>

<when><xpath>/order/product = 'widget'</xpath> <to uri="activemq:queue:widget"/>

</when><otherwise>

<to uri="activemq:queue:gadget"/></otherwise>

</choice></route>

Page 32: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Architecture

Page 33: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Componenti

Page 34: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web
Page 35: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web
Page 36: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web
Page 37: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web
Page 38: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web
Page 39: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse Brownfield

● Runtime:

○ Pure Java

○ Karaf

○ EAP

I ferri del mestiere

● Wiring:

○ Blueprint

○ CDI

○ Spring

Page 40: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse Greenfield

● Runtime:

○ Pure Java

○ Karaf

○ Spring Boot

I ferri del mestiere

● Wiring:

○ CDI

○ Spring

Page 41: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e Openshift

● Fuse + Openshift = Fuse Integration Services

● Parte dell’offerta Red Hat xPaas

● Lavoro della community Fabric8

Camel Riding in the Cloud

Page 42: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e Openshift

● Build then push:

○ Compilo usando il maven plugin di Fabric8

○ Push del risultato (Container Image + Metadata) in OCP

● Push then build:

○ Push del progetto su git

○ Source 2 image in OCP

Modalità di deployment

Page 43: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e Openshift

● Soap2Rest:

○ CXF, Freemarker

○ Pure Java, CDI

○ S2I

Un caso concreto

Page 44: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e OpenshiftCamel

Context

Page 45: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e OpenshiftCamel

Context

Definizione Endpoint

Page 46: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e OpenshiftCamel

Context

Definizione Endpoint

Rotta in Java DSL

Page 47: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e Openshift

Camel DSL

Page 48: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e Openshift

HystrixCircuit

Breaker

Page 49: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Fuse e Openshift

Nome App

Puntamenti GIT

Page 50: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

DEMO CAMEL + OSE

Page 51: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Virtuale

Cloud

Fisico

App tradizionali

Microservizi

Page 52: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Red Hat xPaas

Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere

JBoss EAPJBoss Web Server

In-memory data grid IBM WebSphere eXtreme Scale, Oracle Coherence, Pivotal GemFire, Software AG Terracotta JBoss Data Grid

Application integration IBM Integration Bus, Oracle SOA Suite and ESB, MuleSoft AnyPoint Platform, Sonic ESB, Tibco ActiveMatrix JBoss Fuse

Business rules and process automation

IBM Operational Decision Manager and BPM, Oracle SOA Suite and BPM Suite, Pega BPM, FICO Blaze Advisor

JBoss BRMSJBoss BPM Suite

Messaging IBM WebSphereMQ, Pivotal RabbitMQ, VMware vFabric, Tibco Enterprise Message Service JBoss A-MQ

Mobile IBM MobileFirst, SAP Mobile Platform, Kony Mobility Platform, Telerik Platform, AnyPresence Mobile Application Platform

Data virtualization and data services

IBM InfoSphere, Progress DataXtend SI, Composite Information Server, Denodo JBoss Data Virtualization

Page 53: MIDDLEWARE TRACK - Red Hat - We make open source ... · Red Hat xPaas Application Server Pivotal tc Server, VMware vFabric, Oracle WebLogic Server, IBM WebSphere JBoss EAP JBoss Web

Links

Microservices Playgroundbit.ly/msa-instructions

http://developers.redhat.com/downloads

Container Development KitRecorded Demo: https://youtu.be/SPATMHP-xw8

https://github.com/redhat-italy/osd-microservices-appsOSD Demo Applications