Tuesday, August 19, 2014

JAX-WS Server side Introduction

JAX-WS on the server side provide mechanisms to write web services and host them. There are predominately two approaches of writing web services.

  • Java to WSDL
  • WSDL to Java

In Java to WSDL approach, we first write a Java class or use existing Java class and convert it into a web service end point. In the WSDL to Java approach, the WSDL is already available. Using the WSDL the Java side code is generated which acts as the endpoint for the webservice. There is a third approach also which is a mid way approach. In real life you will often encounter this approach.

WSDL to Java or Java to WSDL
WSDL vs Java
WSDL First or Java First
More on Web services

No comments:

Post a Comment