Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between jaxws-ri and jaxws-rt?

See the JAX-WS Maven repository from java.net - http://download.java.net/maven/2/com/sun/xml/ws/

There are two similar folders - jaxws-rt and jaxws-ri. Currently, I'm using the jaxws-rt and it's working fine.

Here are my questions:

  1. What's the difference between ri and rt?
  2. Does ri stand for reference implementation and rt stand for runtime?

Please advice.
Thanks.

like image 374
mkyong Avatar asked Mar 23 '11 05:03

mkyong


People also ask

What is JAX-WS RI?

JAX-WS RI 2.3. 1 is a Web Services framework that provides tools and infrastructure to develop Web Services solutions for the end users and middleware developers. With JAX-WS RI 2.3. 1, clients and web services have a big advantage: the platform independence of the Java programming language.

What is COM sun XML WS RT?

module com.sun.xml.ws.rt. Defines the Java API for XML-Based Web Services (JAX-WS), and the Web Services Metadata API.

What is the difference between JAX-RS and JAX-WS?

Actually,JAX-WS represents both RESTful and SOAP based web services. One way to think about it is that JAX-RS specializes in RESTful, while JAX-WS allows you more flexibility to choose between either, while at the same time being (in some cases) more complicated to configure. Thank you for simple explanation.

How do I find my JAX-WS version?

You can learn which version of jax-ws by means wsgen or wsimport. You can find them bin subdirectory of your jdk installation.


1 Answers

As an answer to your second question: Yes, you are right.

Below is the proof.


RI stands for Reference Implementation.

Quote from the official JAX-WS project home page (an old site, see the UPDATE section below):

Welcome to the JAX-WS Reference Implementation (RI) Project.


Plus in the POM file for the jaxws-ri (version 2.2.8 at the time of writing) we can find the following:

<name>JAX-WS RI Standalone Zipped Bundle</name> <description>Open source Reference Implementation of JSR-224: Java API for XML Web Services Distribution Bundle</description> 

RT stands for Runtime.

In the POM file for the jaxws-rt (version 2.2.8 at the time of writing) we can find the following:

<name>JAX-WS RI Runtime Bundle</name> 

(The word Runtime gives us a hint :-))


UPDATE (April 2019)

The were quite a few changes in the Java EE world recently. Java EE was moved to Eclipse Enterprise for Java (EE4J). Read EE4J FAQ for more information.

And JAX-WS project, which is now part of the EE4J, has also moved to another place:

  • JAX-WS project's home page: https://javaee.github.io/metro-jax-ws/
  • JAX-WS project's code is hosted on GitHub: https://github.com/eclipse-ee4j/metro-jax-ws
like image 172
informatik01 Avatar answered Sep 20 '22 14:09

informatik01