In the following sections, we are going to create our first REST service. Creating a REST service in JAX-RS requires the following two steps:
- Writing a resource class: A class where we will write our web services methods
- Configuring Jersey for our project: Telling the application server to load Jersey, and referencing the resource class we will be creating