Sviluppo di architetture orientate ai servizi con EclipseSOA

13
Eclipse Day 2010 in Rome October 5 th , 2010 www.spagoworld.org/openevents Dr. Alberto Lagna Chief Technology Officer Biznology srl SOPERA master reseller for Italy [Company logo] Sviluppo di architetture orientate ai servizi con EclipseSOA

description

 

Transcript of Sviluppo di architetture orientate ai servizi con EclipseSOA

Page 1: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

Dr. Alberto LagnaChief Technology Officer Biznology srlSOPERA master reseller for Italy

[Company logo]

Sviluppo di architetture orientate ai servizi con EclipseSOA

Page 2: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

Why would I want to take a closer look?If you are a software developer…

Swordfish makes it easy to develop enterprise services on OSGi.

If you are an enterprise architect…

Swordfish makes your services enterprise-ready.

— Runtime service discovery— Security— Monitoring— Remote configuration

Page 3: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

What is Swordfish?C

on

fig

ura

tion

Plu

gin

Mon

itori

ng

Plu

gin

Reg

istr

y P

lugin

Swordfish core

Apache ServiceMix 4

Swordfish framework

Pro

cess

En

gin

e(A

pach

e O

DE)

SO

AP B

ind

ing

(Ap

ach

e C

XF)

Swordfish core

Apache ServiceMix 4

Swordfish framework

JAX

-WS

Con

t.(A

pach

e C

XF)

Bu

sin

ess

Cod

e(J

ava)

Bu

sin

ess

Cod

e(B

PEL)

Service consumer Service provider

SO

AP B

ind

ing

(Ap

ach

e C

XF)

Con

fig

ura

tion

Plu

gin

Reg

istr

y P

lug

in

Con

fig

ura

tion

Plu

gin

Reg

istr

y P

lug

in

Mon

itori

ng

Plu

gin

SOAP

ServiceRegistry

ConfigurationStore

lookup register

retrieve configuration retrieve configuration

DistributedESB

Page 4: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

A few words about OSGi and some terms

OSGi: A standard for creating highly modular Java applications, based on theconcept of bundles. The Swordfish framework requires an OSGi runtime(usually Eclipse Equinox).

Bundle: A module containing Java implementation classes and additionaldata that can be deployed into an OSGi runtime environment. A bundle can provide code to and use code from other bundles, allowing for bettermodularization.

Target platform: A set of OSGi bundles that defines the runtime environment for the bundles you create in your Eclipse workspace. The Swordfish target platform contains the Swordfish framework and the plug-ins you intend to use.

PDE: Plug-in development environment, the Eclipse perspective and tools youuse to create bundles with the Eclipse IDE.

Page 5: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

• Set swordfish as target platform(use proper OSGi bundles)

Page 6: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

FlightReservationService

PaymentProcessingService

FlightBookingServicebookFlight(flight,payment)

reserveFlight(flight)

processPayment(payment)

Demonstration Scenario (business view)

The FlightBooking service is a composite service that orchestrates calls to the FlightReservation and PaymentProcessing services.

Page 7: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

FlightReservationProvider

PaymentProcessingProvider

FlightBookingProvider

Demonstration Scenario (technical view)

OSGi Runtime 1 OSGi Runtime 2

PaymentProcessingConsumer PaymentProcessing

Provider

FlightReservationConsumer SOAP/HTTP

SOAP/HTTP

SOAP/HTTP

<Envelope> <Body> <bookFlight> <flightData> <flightNumber> LH455 </flightNumber> <date>2009-10-10</date> </flightData> <paymentData> <creditCardNumber> 1234567843218765 </creditCardNumber> <creditCardExpiry> 10/10 </creditCardExpiry> </paymentData> </bookFlight> </Body></Envelope>

<Envelope> <Body> <processPayment> <paymentData> <creditCardNumber> 1234567843218765 </creditCardNumber> <creditCardExpiry> 10/10 </creditCardExpiry> </paymentData> </processPayment> </Body></Envelope>

<Envelope> <Body> <reserveFlight> <flightData> <flightNumber> LH455 </flightNumber> <date>2009-10-10</date> </flightData> </reserveFlight> </Body></Envelope>

Page 8: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

FlightReservationProvider

PaymentProcessingProvider

FlightBookingProvider

bookFlight(flight,payment)

reserveFlight(flight)

processPayment(payment)

OSGi Runtime 1 OSGi Runtime 2

PaymentProcessingConsumer PaymentProcessing

Provider

FlightReservationConsumer SOAP/HTTP

SOAP/HTTP

SOAP/HTTP

Page 9: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

FlightReservationProvider

PaymentProcessingProvider

FlightBookingProvider

bookFlight(flight,payment)

reserveFlight(flight)

processPayment(payment)

OSGi Runtime 1 OSGi Runtime 2

PaymentProcessingConsumer PaymentProcessing

Provider

FlightReservationConsumer SOAP/HTTP

SOAP/HTTP

SOAP/HTTP

Page 10: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

FlightReservationProvider

PaymentProcessingProvider

FlightBookingProvider

bookFlight(flight,payment)

reserveFlight(flight)

processPayment(payment)

OSGi Runtime 1 OSGi Runtime 2

PaymentProcessingConsumer PaymentProcessing

Provider

FlightReservationConsumer SOAP/HTTP

SOAP/HTTP

SOAP/HTTP

Page 11: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

If you are a software developer…

Swordfish makes it easy to develop enterprise services on OSGi.

If you are an enterprise architect…

Swordfish makes your services enterprise-ready.

— Runtime service discovery— Security— Monitoring— Remote configuration

Why would I want to take a closer look?

Page 12: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

Why would I want to take a closer look?

If you are a software developer…

Swordfish makes it easy to develop enterprise services on OSGi.

If you are an enterprise architect…

Swordfish makes your services enterprise-ready.

— Runtime service discovery— Security— Monitoring— Remote configuration

Page 13: Sviluppo di architetture orientate ai servizi con EclipseSOA

Eclipse Day 2010 in RomeOctober 5th, 2010

www.spagoworld.org/openevents

Q&A

Dr. Alberto LagnaChief Technology Officer Biznology srlSOPERA master reseller for Italy

[email protected]