Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Enterprise Service Assembly with SCA using Apache Tuscany
1. Enterprise Service
Assembly with Apache
Tuscany SCA
Raymond Feng, Luciano Resende,
Simon Laws
IBM
PMC members of Apache Tuscany Project
2. Agenda
> Apache Tuscany
> SCA Benefits
> SCA Tours - Online Travel Sample Scenario
Demo
Features
Building components with Java, Spring, JEE
Wiring components with Web services, JMS, HTTP
Web2.0 in the service assembly
Your app goes mobile with Android
Deploying applications standalone, in OSGi, in JEE
2
3. Apache Tuscany
> Apache Tuscany provides a component based
programming model which simplifies development,
assembly and deployment and management of
composite applications in SOA.
> Apache Tuscany implements SCA standards
defined by the OASIS OpenCSA and also provides
extensions based on real user feedback.
3
4. What’s new with Apache Tuscany
> 1.x Code Stream
OSOA Based SCA Specification
Stable code base
SCA Java 1.5 Released 05/31/2009
> 2.x Code Stream
OASIS OpenCSA Specification
OSGi enabled runtime
SCA Java 2.0 M2 Released on 04/15/2009
M3 Released being prepared
4
5. The power of Tuscany/SCA
> Quick prototype for PoC to convince your boss in
hours
Mock up new functions (POJOs)
> Reuse existing assets (Java classes, BPEL, Spring,
JEE, OSGi)
> Talk to external services transparently
(WS, RMI, CORBA, EJB, JMS, …)
> Expose services to other clients transparently
(WS, JSONRPC, FEED, RMI, CORBA …)
> Built-in interaction patterns:
Req/Res, Oneway, Callback
> Run and debug directly within the IDE
5
7. SCA Tours - Travel Booking (Page #1)
fu lla p p - u i ( 8 0 8 0 ) fu lla p p - fr o n te n d ( 8 0 8 4 ) fu lla p p - p a c k a g e d tr ip ( 8 0 8 5 )
T rip
T r a v e lC a ta lo g P a r tn e r
Java
T us c anyS C A
T o u rs U I S C A To u rs
> ls - ls a
Java
fu lla p p - b e s p o k e tr ip ( 8 0 8 6 )
H o te l
P a r tn e r
Java
T rip B o o k in g
123
456 F lig h t
789 W id g e t Java P a r tn e r
Java
Java
C ar
P a r tn e r
Java
fu lla p p - c u r r e n c y ( 8 0 8 3 )
C u rre n c y
C o n v e r te r
E JB
7
8. SCA Tours - Travel Booking (Page #2)
fu lla p p - s h o p p in g c a r t ( 8 0 8 7 ) p a ym e n t (8 0 8 1 ) c re d ic a rd (8 0 8 2 )
C r e d itC a r d
S h o p p in g C a rt P a y m e n tP r o c e s s
Java
S p rin g
Java
p a y m e n tw e b
C r e d itC a r d U I
C a r tS to r e E m a ilG a te w a y
> ls - ls a
Java S c rip t
S e rv le t
8
15. Distributed OSGi with Tuscany/SCA
Local Service
OSGi Service Local OSGi Service
SCA Service Registry Implementation
CreditCard
Payment
Web
Service
Currency
Converter RMI
SCA References
SCA proxies
15