×
☰ See All Chapters

Web Services API

In java we come across many web services API during development. It is not just single API and single technology. Before we start reading web service development we should be aware of the API support given by Java.

An API is an application programming interfaces, a standard set for the implementers. We have many implementers for these APIs and sometimes java itself has provided the implementation. You will get to know about the implementers we use in our tutorial when your reach that chapter reading.

Well, leaving apart these implementation lets list out all the APIs we have in java web service development.

 

web-services-api-0
 

JAXB

Java API for XML binding

 

SOAP/REST web service development

JAXP

Java API for XML processing

JAXR

Java API for XML registries

 

 

SOAP web service development

SAAJ

SOAP with attachment API for Java

JAXRPC

Java API for XML based remote procedure call

JAXWS

Java API for XML web services

JAXRS

Java API for XML RESTful web services

REST web service development

SOAP Web services development approaches

SOAP web services development can be done in two ways

  • Contaract first approach, also called as top-down approach 

  • Contaract last approach, also called as bottom-up approach 

Contaract first -->WSDL first, Services next. WSDL will be developed first, then from WSDL, java classes will be generated using wsimport tool

Contaract last approach -->Services first, WSDL next. Java service class will be developed first, Then from java services classes, WSDL will be generated using wsgen tool.

If you are new to web service development, be happy, we will learn about these WSDL, Services, wsimport, wsgen in coming chapters.


All Chapters
Author