The ability to successfully build a RESTful web service is an essential skill in today's Internet-dominated industry. In this course, learn how to develop a RESTful client and server application using the Java Enterprise Edition implementation of the REST architectural style, JAX-RS API 2.0. This powerful and fully-featured API enshrines industry best practices as it integrates seamlessly with other essential APIs such as Bean Validation and JSON Processing.
Join Alex Theedom as he guides you through a wide range of topics, including how to define resource endpoints, how to add dynamism to your application with hypermedia, how to maintain data integrity with Bean Validation, and how to process messages with the JSON Processing API. Once you have completed this course, you'll be ready to develop your own client and server RESTful APIs.
Topics include:
- Discover the extent of JAX-RS's features
- Use the annotation methodology
- Use the inheritance methodology
- Define a REST contract and API root
- Create the REST resource entity
- Create the REST resource methods
- Understand consumers and producers
- Work with different media types
- Define and work with path parameters
- Build a REST response and handle exceptions
- Implement Bean Validation and manage failures
- Create a RESTful client that consumes the web service
- Use JSON-P API with the REST client
- Implement hypermedia (HATEOAS)