This document provides an overview of REST APIs and introduces Jersey/JAX-RS. It discusses REST architectural constraints like using nouns and verbs mapped to HTTP methods. It also covers specifications like JAX-RS and frameworks like Jersey for building RESTful web services in Java. Finally, it mentions tools for documenting APIs like Swagger and techniques like partial representations, resource linking, and versioning.
4. REST in a Page
Architectural Style a set of constraints
Nouns and Verbs
HTTP-Based
Roy Fielding U. C. Irvine
Representational State Transfer
Not SOAP
6. Constraint: Nouns and Verbs
Nouns
Your business model
Account, Plan, Cat, Dog, Foo, Bar
Verbs
HTTP-Defined (RFC-2616)
GET, PUT, POST, DELETE
TRACE, OPTIONS, HEAD
PATCH
9. Specs and Stuff
JAX-RS Java API for RESTful Web Services
JSR-311 JAX-RS 1.0
JSR-339 JAX-RS 2.0
Dependency Injection
Bean Validation
Client API enhancements