Skip to main content

Posts

Showing posts from April, 2017

RESTful Web service Implementation

RESTful Web service implementation IF you are reading this post you should probably understood what REST services are. Before building a REST service you should understand 5 methods of REST services. GET - used to retrieve resource from web services POST - used to update an existing resource or create a new resource. PUT - used to create new resources in web services DELETE - used to delete resources in web service OPTIONS - used to get the supported operations on a resource Now lets begin the REST web service implementation. I'll be using IntelliJ idea for development. and Jersey frame to create RESTful web services.  Jersey framework implements  JAX-RS 2.0  API, which is a standard specification to create RESTful Web Services. and download javaee API from here  https://mvnrepository.com/artifact/javax/javaee-api/7.0 Before starting the project download and install glassfish server. First create a new project from IntelliJ Then se...