UrbanPro
true

Learn Advanced Java coaching from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How to create Rest web services in Java

Gaurav
02/09/2016 0 0

Web services are web application components that lets two different applications to communicate over the network.Let if an application which in written java provides web services can be communicated through other languages like PHP,.Net,Python etc.

 

Restful Web Services are very known among web programmers.Using web service you can allow to different applications build on any technology like PHP,.Net etc to communicate over the network in platform independent manner.

 

JAX-RS API is used to develop RestFul web services. in Java. Most commonly used implementation isJersey.JAX-RS specification provides annotations that are used by service programmer for annotating service methods and service class.

Commonly used annotations

  1. @Path: This annotation is used to associate a URI to a service class and methods.
  2. @GET:  This annotation is used to associate HTTP GET request to a service method.
  3. @POST: This annotation is used to associate HTTP POST request to a service method.
  4. @PUT: This annotation is used to associate HTTP PUT request to a service method.
  5. @DELETE: This annotation is used to associate HTTP DELETE request to a service method.
  6. @Produces:This annotation is used to specify the representation of a resource which is produced by a method.
  7. @Consumes: This annotation is used to specify the representation of a resource which is consumed by a method.

For detailed explanation click here.

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

How to deal with British Novels and Dramas?
Students might find it very tiring and wearisome to read the complete novels and dramas prescribed in the syllabus. But this is also true that unless you go through the entire text you cannot have total...
P

Introduction to Course Content
Video about what we are going to learn throughout the Java Training Session .

Advance Java
1) Servlet • Basics of Servlet • Servlet Request • Servlet Collaboration • Servlet Config • Servlet Context • Attribute • Session Tracking • Event and Listener •...
A

Inheritance In Java
Inheritance: The process of getting properties and behaviors from one class to another class is called inheritance. Properties: Variables Behaviors: Methods The main purpose of the inheritance...
D

Deleted U.

1 0
0

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
X

Looking for Advanced Java coaching Classes?

The best tutors for Advanced Java coaching Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Advanced Java coaching with the Best Tutors

The best Tutors for Advanced Java coaching Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more