Java API for RESTful Web Services

from Wikipedia, the free encyclopedia

The Java API for RESTful Web Services , JAX-RS for short , is the specification of a programming interface (API) for the Java programming language , which enables and standardizes the use of the Representational State Transfer (REST) software architecture style in the context of web services.

The functionalities described in the specification were developed by a company consortium around Sun Microsystems and other independent parties as part of the Java Community Process and approved in Java Specification Request 311.

Like other programming interfaces of the Java Platform, Enterprise Edition (JEE), JAX-RS uses annotations to simplify the development and deployment of web service clients and service endpoints.

history

From version 1.1 JAX-RS was an official part of the Java Platform, Enterprise Edition 6.

In January 2011, the Java Community Process began with the establishment of the working group on JAX-RS 2.0: Java Specification Request 339: The Java API for RESTful Web Services. The most important planned innovations were a uniform client API as well as support for hypermedia based on the HATEOAS principle. The publication was originally planned for spring 2012 and should be incorporated into version 7 of the Java Platform, Enterprise Edition . With the appearance of JEE 7 on May 12, 2013, JAX-RS version 2.0 was also released.

Implementations

The reference implementation of JAX-RS is the open source project Jersey. Jersey 1.0.x is based on version 1.0 and Jersey 1.1.x is based on version 1.1 of the specification. Jersey 2.0 / 2.1 supports JAX-RS 2.0, Jersey 2.2+ supports JAX-RS 2.1.

Other implementations of JAX-RS are Restlet, JBoss ' RESTEasy and the JAX-RS extension from Apache CXF .

See also

Individual evidence

  1. JSR 311 project page
  2. http://jcp.org/en/jsr/detail?id=339
  3. Jersey project page
  4. Differences between version 1.0 and 1.1

Web links