From the course: Learning Java Enterprise Edition

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

JAX-RS introduction

JAX-RS introduction - Java EE Tutorial

From the course: Learning Java Enterprise Edition

Start my 1-month free trial

JAX-RS introduction

- [Instructor] In this video, we're going to look at JAX-RS, which we use to build RESTful web services. This is quite a hot topic these days, as they commonly form part of the technologies used to build microservices. However, it's not just for microservices, as we'll see now. So let's get started. RESTful web services are ideal for developing Internet accessible APIs. They allow resources to be represented in a very decoupled way and in a ubiquitous format. Say, for example, that a cinema wants to make available to developers information about the films that they are showing this week and to allow comments to be posted, and they want developers to represent this information in a variety of different ways. Perhaps in an HTML web page, or a PDF, or some other imaginative manner. The way this could be done is to provide a RESTful endpoint that supplies a list of films based on, say, a genre and also an endpoint where comments can be posted. The REST architectural style is designed to…

Contents