Enterprise Integration Zone is brought to you in partnership with:

Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2573 posts at DZone. You can read more from them at their website. View Full User Profile

How RESTful Is Your REST?

05.05.2013
| 5003 views |
  • submit to reddit

How RESTful Is Your REST? from Øredev Conference on Vimeo.

The rise of Mobile and the diversity its technologies make exposing a RESTfull API the most crucial capability of any application and the key to its success. In the absence of widely adopted best practices and well-defined conventions, designing such an API is nothing but trivial. This presentation introduces the fundamentals of REST architecture, and discusses the principles of RESTfull design. Among the topics covered: resource modeling (URI design, and HTTP verbs/status code canonical usage), multiple representation support, testing, cache control, security (Http and OAuth), and API versioning. HATEOAS and REST maturity model are also discussed, along with an implementation of a sample API in JAX-RS and Spring MVC. No prior knowledge REST is required.

Outline:
* What is REST?
* Resource Modeling
- URI Design
- HTTP verbs and CRUD operation
- HTTP response status code and error handeling
* Multiple representation of data and Media types
- JSON vs XML
- Usage of query strings (Filtering, exclusion/inclusion list, etc...)
* Why REST?
* Richardson's REST Maturity Model
* HATEOAS
* Advanced
- Caching
- Security (HTTP Basic/Digest, SSL, OAuth)
*Testing RESTfull APIs
*JAX-RX
- Jersey
- RESTEasy
- Code Example
* Test the REST
* Conclusion
* Q & A