In this chapter, we discussed how to easily develop RESTful web services using JAX-RS, a new addition to the Java EE specification.
We covered how to develop a RESTful web service by adding a few simple annotations to our code. We also explained how to automatically convert data between Java and XML by taking advantage of the Java API for XML Binding (JAXB).
Additionally, we covered how to pass parameters to our RESTful web services via the @PathParam and @QueryParam annotations.
Finally, we discussed how to develop web services that are able to send server-sent events to all of their clients, utilizing the new JAX-RS 2.1 Server-Sent event support.