Presentation is loading. Please wait.

Presentation is loading. Please wait.

Advanced Java Session 10 New York University School of Continuing and Professional Studies.

Similar presentations


Presentation on theme: "Advanced Java Session 10 New York University School of Continuing and Professional Studies."— Presentation transcript:

1

2 Advanced Java Session 10 New York University School of Continuing and Professional Studies

3 2 Objectives JMS Solution Web Services –SOAP and XML-RPC –WSDL –UDDI Apache Axis Samples JAX-RPC JAX-WS

4 3 Why Web Services Mechanism to create portable, truly cross platform services which may be called by a client on any platform Higher level than RMI or CORBA or COM - so “easier” to develop Accessible over HTTP - so no issues with firewalls

5 4 SOAP Started as Simple Object Access Protocol - started in 1998 - had a handful of primitive types similar to “struct” and “array” in C Current version of SOAP (sometimes also expanded to Service Oriented Architecture Protocol) 1.2 became a W3C recommendation in June 2003 http://searchwebservices.techtarget.com/searchWe bServices/downloads/what_is_soap.swfhttp://searchwebservices.techtarget.com/searchWe bServices/downloads/what_is_soap.swf http://www.w3.org/TR/soap12-part0/

6 5 XML RPC Simple Remote Procedure Call protocal using SOAP messages Using XML over HTTP

7 6 JAX-RPC Java API for XML RPC JSR - 101

8 7 JAX-WS Java API for XML Web Services JSR 224

9 8 JAX-RPC vs. JAX-WS http://www.ibm.com/developerworks/views /webservices/libraryview.jsp?search_by=JA X-RPC+versus+JAX- WS&S_TACT=105AGX04&S_CMP=ARThttp://www.ibm.com/developerworks/views /webservices/libraryview.jsp?search_by=JA X-RPC+versus+JAX- WS&S_TACT=105AGX04&S_CMP=ART

10 9 WSDL Web Services Description Language http://www.w3.org/TR/wsdl

11 10 Apache Axis Samples including –Jws files –WSDL2Java –Java2WSDL

12 11 SAAJ SOAP with Attachment API for Java

13 12 UDDI Universal Description Discovery and Integration

14 13 JAXR Java API for Accessing XML Registries

15 14 WS-Security XML Encryption and XML Signature

16 15 WS-Reliability Protocol for reliable messaging between two web services Originally released by OASIS Now superseded by WS-Reliable Messaging

17 16 WS-ReliableMessaging Protocol for reliable messaging between two Web services - Microsoft, IBM, and BEA Approved as an OASIS standard on June 14 th 2007

18 17 WS-Addressing A way of describing the address of the recipient of a message Specifies Endpoint References and Message Addressing properties such as Message Destination, Source endpoint, Reply endpoint, Unique Message ID ec.

19 18 WS-Transaction A way of handling transactions Describes Atomic Transaction for individual operations and Business Activity for long running transactions

20 19 Thank you


Download ppt "Advanced Java Session 10 New York University School of Continuing and Professional Studies."

Similar presentations


Ads by Google