Wednesday, 11 March 2015

RESTFull Webservice : Summarised overview

RESTfull Introduction :

It is a concept to create such an application who can response to client in multiple formats of data (xml, JSON, HTML etc).And this application you can say a "WEBSERVICE".

JAX-RS :

When RESTFull concept introduced in the market, after that Java supported this concept. JAVA created a specification JAX-RS. It is an API.

Jersey :

Jersey is a implementation  of JAX-RS. Jersey is full fledge API and can be use in applications to create a proper RESTfull webservice.

RESTfull - JAXB :

JAXB also supporting RESTfull to create response XML in minimum efforts. JAXB providing few annotations  (@XmlRootElement), which are helpfull to create RESTfull webservice in minimun code.

RESTfull - Spring4.0 :

Now Spring4.0 also providing some features, using which RESTFull webservice can be created very easily. 
@RestController is very important annotation which is used to create RESTFul webservice.

No comments:

Post a Comment