47
© abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

Embed Size (px)

Citation preview

Page 1: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Java als Plattform für die Abbildung von B2B Geschäftsprozessen

Di 7 :

Page 2: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Inhalt

Überblick B2B E-Business

Integration: B2B E-Business ermöglichen

Workflow integrierte B2B Geschäftsprozesse

Die J2EE Plattform B2B Integration

Page 3: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Die Evolution des E-Business

0

20

40

60

80

100

1. Qrtl. 2. Qrtl. 3. Qrtl. 4. Qrtl.

OstWestNord

BEG.COMBEG E-BEG

Page 4: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Was ist...

B2B:„Trading of goods and services between corporations using

automated business processes.“

Collaborative CommerceSynchronized End-to-end Business Processes, spanning multiple

enterprises. Integrating commerce and collaborations

Page 5: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Die E-Business Insel Collaborative Commerce

Webseitee-

CommerceCollaborative

CommerceE-Business

Wert

gestern heute morgen

Page 6: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

E-Commerce

Verkauf und Einkauf– einfache Transaktionen– isoliertes System– Pilot / Proof of concept

Page 7: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

E-Business

Umsetzung der aktuellen Prozesse– Konditionen– Profile, Personalisierung– Datenintegration des EIS (Katalog )

Page 8: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Collaborative Commerce

Prozessintegration– automatischer Informationsfluss– Integration aller beteiligten Systeme– Verfügbarkeit aller relevanter Daten– Integration alle Prozesse

Page 9: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Was ist zu tun

Integration

Workflow

Zusammenführung von Supply & Demand chain

Integration der nachgelagerten Prozesse und Daten

Abbildung der neuen Prozesse

Dynamisierung

Page 10: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integration: B2B E-Business ermöglichen

Integrations-Frameworks I

Szenarien

Medium / Protokolle

Integrations-Frameworks II

Page 11: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Interaktions-Szenarien

E-BusinessSystem

Interaktion auslösen

Interaktion auslösen

Fremd-System

Page 12: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integrations-Frameworks

E-BusinessSystem

Fremd-System

?

Page 13: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integrations-Frameworks I

RosettaNet

BizTalk

cXML

OBI

Page 14: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integrations-Frameworks I

The five frameworks,..., have done a a fairly good job....

The frameworks miss out in several important aspects of B2B – for example , pre- and post-sale processes ....

San Jose State University in IEEE Computer

Page 15: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Medium / Protokolle

XML– „On the wire Protocol“– Medium unabhängig vom System

Page 16: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integrations-Frameworks II

J2EE Connector Architecture Heterogene und komplexe EIS Integration vereinfachen Transaktionssicherheit Scalability

Sun Microsystems

Page 17: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Die J2EE Plattform = B2B Integration

Page 18: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

J2EE Connector-Architecture

Mögliche Zielsysteme– PPS Systeme– Mainframe Transaction Processing Systeme– Nicht-Java Legacy Applikationen– Datenbanken

Page 19: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

J2EE Connector-Architecture

ApplicationComponent

Resource Adapter

EnterpriseInformation System

J2EE Application Server

ConnectionPooling

TransactionManager

SecurityManager

Container-Component Contract

System Contract

Application Contract

EIS-specificinterface

• Transaction Management• Connection Management• Security Management

Quelle:Sun Microsystems

Page 20: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Connector Architecture: Ziele

Entwicklung vereinfachen Integration

VerteilbarSichertransaktionssicher

Zielsystem

Fremdsysteme

Page 21: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

System Contracts

Connection Management Transaction Management Security Managements

Page 22: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Connection Management Contract

Connection Management– Pooling– Connection Factory– Verbindungsaufbau– Poolverwaltung

Page 23: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Transaction Management Contract

Local Transaction– Das EIS kontrolliert die Transaktion

XA Transaction– Über mehrere EIS hinweg– Benötigt externen TP Monitor

»Two Phase Commit»One Phase Commit

Page 24: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Ressource Manager

Application Server muss alle Transaktions-Levels unterstützen

Ressource Manager Implementierungen– Nicht transaktional– Local Transaction (Local Transaction Interface)– Local und XA Transaction (JTA XA Ressource

Interface) –optional-.

Page 25: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Security Management

Erweitert die J2EE Plattform Security um sichere EIS Verbindungen herzustellen– User / Passwort– Kerberos v5– EIS-spezifisches Security Modell

Page 26: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Common Client Interface

Bietet einheitliches Interface für die Kommunikation mit einem EIS und kapselt die EIS-spezifischen APIs

EIS 1 EIS 2 EIS n

Enterprise Application Integration Framework

API 1 API 2

...

API n

Page 27: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

CCI Beispiel

// Get a Connectionjavax. naming. Context nc = new InitialContext();ConnectionFactory cf =(ConnectionFactory) nc. lookup("...");Connection cx = cf. getConnection();

// Create an InteractionInteraction ix = cx. createInteraction();

// Create input and output RecordRecordFactory rf = //.. get a RecordFactoryMappedRecord input = rf. createMappedRecord("...");IndexedRecord output = rf. createIndexedRecord("...");

// Create/ get an InteractionSpecInteractionSpec ixSpec = // ...ixSpec. setFunctionName("< NAME- OF- EIS- FUNCTION>");

// Execute the Interactionboolean ret = ix. execute( ixSpec, input, output);

Page 28: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Vorteile

Einheitliche Schnittstelle (CCI)

Transaktionale Absicherung der Interaktionen

Integration von Daten und Prozessen möglich

Ermöglicht Standardbasierte Integration

Page 29: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Probleme

CCI ist ein Framework das derzeit noch ins Leere greift denn:

Es gibt noch keine Ressource Adapter

Medium (Records) nicht geklärt

Notwendige Tools fehlen noch (Mapping etc)

System Contracts problematisch

Page 30: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Workflow System integrierte B2B Geschäftsprozesse

Page 31: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Workflow

Integration Daten

Integration (Verbindung)der Prozesse

Integrationsprozesse

Page 32: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integration der Prozesse

DB

EISDB

Verfügbarkeitsprüfung

E-BusinessSystem

Order-Prozess

Check Availability

Page 33: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

EIS

Integrations-Prozesse

EIS EIS EIS

DatenContent

E-Business System Prozesse

Page 34: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

IntersectionOf Demand and Supply Chain

Workflow: Integrationsprozesse

Buyer

Demand Chain

Supplier

Supplier

Supplier

Supplier

eMarket

P

Supplier

Supplier

Seller

Supply Chain

eMarket

Supplier

Supplier

Supplier

Supplier

P

Supplier

Supplier

Quelle: Morgan Stanley

Page 35: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Workflow im e-Business

„Automate process and workflows“ (Greg Gorback ARC)

Neue Prozesse bringen mehr Dynamik

Abbildung und Automatisierung von vorhandenen,unmodellierten Prozessen

Prozesse müssen „on the fly“ angepasst werden können

Page 36: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Workflow: OMG Modell

Quelle:OMG

Page 37: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Konzepte

Build Time– Execution Objects

»Process»Activity

Run Time– Process Manager– Requester– und ??

„Enactment Service“

Page 38: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Workflow mit J2EE / EJB 2.0

Build Time– Execution Objects

» Session Beansoder Klassen

Implementieren der Interfaces

Run Time– Process Manager– Requester– und ??

Message Driven Beans

Page 39: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Workflow Run Time

WorkflowXMLWorkflow

EnactmentService

Event

BO

Request

ProcessInstance

BO

Page 40: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Message Driven Bean

• Asynchron• Wird durch ankommende Message aktiviert• Stateless• Kein Home und kein Remote Interface• Das Bean implementiert iavax.jms.MessageListener Interface• Die onMessage Methode enthält Business Logik• Wird als Listener für eine Queue oder Topic konfiguriert

Page 41: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Process

Workflow Run Time

WorkflowXML

MessageDriven Bean

BO

Message Requester / Process Manager

Instantiate & run

Instantiate & execute

Activity

Page 42: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Transaktionen

Bean Transactions Message Driven Bean sichert Transaktionen

über einen Prozess Andere Möglichkeit

„User Transactions“

Page 43: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Activity

Automatisierter und Manueller Workflow

Process

Activity

2.Suspend

resume

1. execute5. resume

3. interaction

4. ready

Page 44: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

E-BusinessIntegrations-Plattform

Page 45: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integrationsplattform

Prozesse abbilden

Neue Prozesse schaffen

EIS anbinden

Content Managment Systeme anbinden

Content verwalten können

Planungs- und Controlling Prozesse

„Content-Prozesse“

Page 46: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integrationsplattform

FrameworksLogistikServiceFullfillmentStammdatenContent ...

Page 47: © abaXX Java als Plattform für die Abbildung von B2B Geschäftsprozessen Di 7 :

© abaXX

Integrationsplattform

Standards sind Trumpf J2EE bietet unheimliches Entwicklungspotential

Flexibilität Offenheit Erweiterbarkeit

Unabhängigkeit von Middleware