JAX-WS on the server side provide mechanisms to write web services and host them. There are predominately two approaches of writing web services.
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
More on 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 First or Java First |
No comments:
Post a Comment