Advanced Java Session 10 New York University School of Continuing and Professional Studies
2 Objectives JMS Solution Web Services –SOAP and XML-RPC –WSDL –UDDI Apache Axis Samples JAX-RPC JAX-WS
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
4 SOAP Started as Simple Object Access Protocol - started in 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 bServices/downloads/what_is_soap.swfhttp://searchwebservices.techtarget.com/searchWe bServices/downloads/what_is_soap.swf
5 XML RPC Simple Remote Procedure Call protocal using SOAP messages Using XML over HTTP
6 JAX-RPC Java API for XML RPC JSR - 101
7 JAX-WS Java API for XML Web Services JSR 224
8 JAX-RPC vs. JAX-WS /webservices/libraryview.jsp?search_by=JA X-RPC+versus+JAX- WS&S_TACT=105AGX04&S_CMP=ARThttp:// /webservices/libraryview.jsp?search_by=JA X-RPC+versus+JAX- WS&S_TACT=105AGX04&S_CMP=ART
9 WSDL Web Services Description Language
10 Apache Axis Samples including –Jws files –WSDL2Java –Java2WSDL
11 SAAJ SOAP with Attachment API for Java
12 UDDI Universal Description Discovery and Integration
13 JAXR Java API for Accessing XML Registries
14 WS-Security XML Encryption and XML Signature
15 WS-Reliability Protocol for reliable messaging between two web services Originally released by OASIS Now superseded by WS-Reliable Messaging
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
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.
18 WS-Transaction A way of handling transactions Describes Atomic Transaction for individual operations and Business Activity for long running transactions
19 Thank you