What is the difference between JMS / JAXM / JAX RPC / Web Service / JAX-WS?

I am trying to learn various web services to understand what they are used for. But I'm confused, as these terms often intersect. I would appreciate it if someone could briefly tell me what are the differences between these terminologies. I came across some sources, such as http://java.sun.com/developer/Books/j2ee/jws/ch07.pdf , however I cannot clearly distinguish them.

+5
source share
1 answer

Web service: a standards-compliant service, can be written in Java, can be written in some other technology, for example. .NET. The key point is that there is a standard WSDL language that describes the service. WSDL contains information about the transport, the protocol in which the service is running, the available operations, and the loads going back and forth.

Most web services that you encounter will use SOAP messages (a specific XML format) over HTTP, so the WSDL will contain the URL where to call the service. More generally, other message formats and protocols are possible - we will return to this point in a moment.

, WSDL , Java-, Java XML HTTP-. , , - , WSDL.

, - Java, WSDL, HTTP, XML .. , Java API . API, JAX/RPC JAX/WS - , JAX/WS .

, , , () Java () ++, ( WSDL, ).

JMS - API Java, . Java JMS . Java EE , Java EE App Server - , , - , .

WSDL- . , -, SOAP/JMS, SOAP/HTTP. JAXM - API . , , SOAP/JMS , WS-ReliableMessaging.

+6

All Articles