This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Java 7 JAX-WS: Is JAX-WS an API or implementation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java 7 JAX-WS: Is JAX-WS an API or implementation?" Watch "Java 7 JAX-WS: Is JAX-WS an API or implementation?" New topic
Author

Java 7 JAX-WS: Is JAX-WS an API or implementation?

Michael Angstadt
Ranch Hand

Joined: Jun 17, 2009
Posts: 273

This is sort of a stupid question, but is JAX-WS an actual implementation or is it just an API that vendors can create implementations for? I ask this because I know that JAX-RS (Java's API for RESTful web services) is just an API...the JDK doesn't ship with an actual implementation of JAX-RS. Thanks.


SCJP 6 || SCWCD 5
rajeswari kannan
author
Ranch Hand

Joined: Oct 01, 2006
Posts: 80
JAX-WS is an API for creating SOAP web services.
JAX-RS is an API for creating RESTful web services.


Rajeswari Kannan Java Certification | Online Exam Software | OCAJP | OCPJP | OCEJWSD | OCEEJBD
OCEJPAD | SCJD | SCWCD | SCBCD | SCDJWS | OCMJEA | OCEJWCD | SCMAD
Michael Angstadt
Ranch Hand

Joined: Jun 17, 2009
Posts: 273

With JAX-RS, you have to download a separate library in order to use it. Sun's implementation is called Jersey and it does NOT come packaged with the JDK. Does the same apply to JAX-WS? Do you have to download a separate library to create a SOAP web service? Thanks.
Padmarag Lokhande
Ranch Hand

Joined: May 29, 2008
Posts: 93
JAX-WS is an API for Web Services in Java.
Metro (http://jax-ws.java.net/) is the Reference Implementation which comes with JDK6 and above. There are other implementations like Axis2, CXF, JBossWS, WebSphere JAXWS runtime and so on.


- Padmarag Lokhande
SCJP5 - http://blog.padmarag.com
Michael Angstadt
Ranch Hand

Joined: Jun 17, 2009
Posts: 273

Padmarag thanks, that answered my question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java 7 JAX-WS: Is JAX-WS an API or implementation?
 
Similar Threads
JAX WS With REST
@ConsumeMime
webservice migration
web services overview
Help required: Compiling/Deploying a RESTful web service