Presentation is loading. Please wait.

Presentation is loading. Please wait.

Intermediate presentation Simon Zambrovski Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network.

Similar presentations


Presentation on theme: "Intermediate presentation Simon Zambrovski Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network."— Presentation transcript:

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

2 07.04.20042 Agenda  WS-Coordination  WS-Transactions  Conceptual solutions  Apache AXIS  Technical solutions

3 07.04.20043 Web Service coordination (WS-Coordination)  Coordinator  Activation Service  Registration Service  Initiator  Getting a context (Activation Service)  Propagating context to participants  Participant  Register (Registration Service)

4 07.04.20044 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) ActiveCompletedEnded Closing Compensating completed close compensate compensated closed

5 07.04.20045 Communication Scenario (client view) Transaction Middleware Service Webservice Client begin end

6 07.04.20046 Message interception (Proxy) Proxy Service Transaction Middleware Service Webservice Client begin end

7 07.04.20047 Webservice Coordination Proxy Service Coordination Middleware Service register Transaction Middleware Service Client begin end Coordination Participant create

8 07.04.20048 Active Business Activity (Participant Completion) Webservice Coordination Middleware Service completed Client Coordination Participant close Completed Closing Completed Closing closed Ended confirm

9 07.04.20049 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)

10 07.04.200410 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

11 07.04.200411 Thank You for Your Attention Questions?  Further information: http://www.simon.zambrovski.org/  Contact: simon@zambrovski.org


Download ppt "Intermediate presentation Simon Zambrovski Tutor: Muhammad Farhat Kaleem Web service transactions in JXTA network."

Similar presentations


Ads by Google