11
Intermediate presentation Simon Zambrovski [email protected] Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

Intermediate presentation Simon Zambrovski [email protected] Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

Embed Size (px)

Citation preview

Page 1: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

Intermediate presentation

Simon [email protected]

Tutor: Muhammad Farhat Kaleem

Web service transactions in JXTA network

Page 2: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 2

Agenda

WS-Coordination WS-Transactions Conceptual solutions Apache AXIS Technical solutions

Page 3: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 3

Web Service coordination (WS-Coordination) Coordinator

Activation Service Registration Service

Initiator Getting a context (Activation Service) Propagating context to participants

Participant Register (Registration Service)

Page 4: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 4

Web Service transactions (WS-AT & WS-BA) General

Built on top of WS-Coordination Extends it with own protocols

Atomic Transactions Short lived transactions Protocols : Completion, Volatile 2PC, Durable 2PC

Business Activities Long lived activities Protocols

BA with participant completion, BA with coordinator completion e.G. BA with Participant Completion (simplified)

Active Completed EndedClosing

Compensating

completed close

compensate compensated

closed

Page 5: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 5

Communication Scenario (client view)Transaction Middleware Service

Webservice

Webservice

Client

begin

end

Page 6: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 6

Message interception (Proxy)

ProxyService

Transaction Middleware Service

Webservice

Webservice

Client

begin

end

Page 7: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 7

Webservice

Coordination

ProxyService

Coordination Middleware Service

Context

register

Transaction Middleware Service

Client

begin

end

Coordination Participant

create

Page 8: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 8

ActiveActive

Business Activity (Participant Completion)

Webservice

Coordination Middleware Service

completed

Client

Coordination Participant

close

CompletedClosing CompletedClosing

closed

Ended Ended

confirm

Page 9: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 9

Apache AXIS What is AXIS?

A Web Service framework (client and server)

What is the main idea? The messages are passed and processed The processing units are called handler organized in chains

Why it is so useful? Possibility to write own handler and chains

Why did I choose Apache AXIS? Open source Extensible Good requirement coverage Works with external serialiser (e.g. Castor)

Page 10: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 10

Technical Solutions Proxy

AXIS-Handler on the client side Proxy Service as message-based AXIS Web Service

Mapping between business and coordination Usage of Trace from Dr. Marcus Venzke Mapping stored in XML-configuration file Handler intercepting messages

JXTA Realised as AXIS-Transport-Handler Used for communication behind the Proxy Service Has no side effects for the client

Page 11: Intermediate presentation Simon Zambrovski simon@zambrovski.org Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network

07.04.2004 11

Thank You for Your AttentionQuestions?

Further information:http://www.simon.zambrovski.org/

Contact:[email protected]