Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Michael Angstadt
Ranch Hand
Posts: 277
Eclipse IDE Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
rajeswari kannan
MyExamCloud Software Support
Ranch Hand
Posts: 80
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAX-WS is an API for creating SOAP web services.
JAX-RS is an API for creating RESTful web services.

 
Michael Angstadt
Ranch Hand
Posts: 277
Eclipse IDE Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Michael Angstadt
Ranch Hand
Posts: 277
Eclipse IDE Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Padmarag thanks, that answered my question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic