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.
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
- JAX-RS Tutorial 1 with Jersey for RESTful Web Services
In this example, we created four Spring boot web services utilizing Spring boot, Spring JPA, and Jersey framework. - JAX-RS Tutorial 2 with Jersey for RESTful Web Services
This was a tutorial for JAX-RS using Jersey. - Creating JAX-RS web service using Jersey Example
In this post we’re going to demonstrate how easy and simple it is to develop a RESTful service using this awesome technology! - Creating JAX-RS web service using RESTEasy Example
This was an example of creating a JAX-RS compliant web service using RESTEasy - Creating JAX-RS web service using Apache CXF Example
This was an example of creating a JAX-RS compliant web service using Apache CXF
[undereg]