O'Reilly logo

RESTful Java Patterns and Best Practices by Bhakti Mehta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we covered the fundamentals of REST, CRUD API, and how to design RESTful resources. We worked with JAX-RS 2.0-based annotations that can represent HTTP methods and Client APIs that can be used to target the resources. Additionally, we iterated the best practices when designing RESTful services.

The next chapter will dig deeper into the concepts covered here. We will also cover topics such as content negotiation, entity providers in JAX-RS 2.0, error handling, versioning schemes, and response codes in REST. We will look into techniques the server can use to send responses to the client using Streaming or Chunking.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required