JAX-RS Tutorials

JAX-RS Tutorials
In this detailed Resource page, we feature an abundance of JAX-RS Tutorials!

JAX-RS: Java API for RESTful Web Services (JAX-RS) is a Java programming language API spec that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern. JAX-RS uses annotations, introduced in Java SE 5, to simplify the development and deployment of web service clients and endpoints.

From version 1.1 on, JAX-RS is an official part of Java EE 6. A notable feature of being an official part of Java EE is that no configuration is necessary to start using JAX-RS. For non-Java EE 6 environments a small entry in the web.xml deployment descriptor is required.

Note
If you wish to build up your JAX-RS knowledge first, check out our JAX-RS Web Service Example.

JAX-RS Tutorials – Getting Started

Εxamples based on the Java API for RESTful Web Services

  • JAX-RS Security Example
    In this article we are going to keep it simple and demonstrate how transport layer security could be introduced.
  • JAX-RS Client Example
    In this article we are going to present an example code of writing a JAX-RS Client.
  • JAX-RS Download File
    In this example we are going to see how you can download a file from a JAX-RS REST Service.
  • JSON with JAX-RS Example
    In this example, we will have a simple POJO class Student which will be wrapped up as a JSON object between the client and server communications.
  • Get HTTP Header In JAX-RS
    In this example we are going to see how to get Request HTTP Header parameters in a JAX-RS REST Service.

JAX-RS Tutorials – Annotations

Learn about annotations on Java API for RESTful Web Services

  • JAX-RS Annotations Explained
    In this example we shall learn some important JAX-RS annotations.
  • JAX-RS @FormParam Example
    In this example we are going to see how to parse parameters submitted by a form in a JAX-RS REST Service using @FormParam annotation.
  • JAX-RS @QueryParam Example
    In this example we are going to talk about how you can use @QueryParam annotation to parse URI Query Parameters in a JAX-RS RESTful service.
  • JAX-RS @PathParam Example
    In this example we are going to talk about how you can use @PathParam annotation to parse Path Parameters in a JAX-RS RESTful service.
  • JAX-RS @Path URI Matching Example
    In this example we are going to see how to use @Path annotation in a JAX-RS application to assign a certain URI, or a certain form of URIs into a specific method.

JAX-RS Tutorials – Integrations

Learn how to use JAX-RS with Jersey, RESTEasy and Apache CFX

[undereg]

Back to top button