Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Specification  





2 JAX-RS 2.0  





3 Implementations  





4 References  





5 External links  



5.1  Tutorials  
















Jakarta RESTful Web Services






Deutsch
Español
Français

Magyar

Русский
Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

(Redirected from JAX-RS)

Jakarta RESTful Web Services (JAX-RS)
Original author(s)Sun Microsystems
Developer(s)Eclipse Foundation
Stable release

3.0 / June 30, 2020; 4 years ago (2020-06-30)

Repository
Written inJava
Operating systemCross-platform
PlatformJava
TypeApplication framework
LicenseEPL 2.0 or GPL v2 w/Classpath exception
Websiteprojects.eclipse.org/projects/ee4j.jaxrs Edit this at Wikidata

Jakarta RESTful Web Services, (JAX-RS; formerly Java API for RESTful Web Services) is a Jakarta EE API specification that provides support in creating web services according to the Representational State Transfer (REST) architectural pattern.[1] JAX-RS uses annotations, introduced in Java SE 5, to simplify the development and deployment of web service clients and endpoints.

From version 1.1 on, JAX-RS is an official part of Java EE 6. A notable feature of being an official part of Java EE is that no configuration is necessary to start using JAX-RS. For non-Java EE 6 environments a small entry in the web.xml deployment descriptor is required.

Specification[edit]

JAX-RS provides some annotations to aid in mapping a resource class (aPOJO) as a web resource. The annotations use the Java package jakarta.ws.rs (previously was javax.ws.rs but was renamed on May 19, 2019[2]). They include:

In addition, it provides further annotations to method parameters to pull information out of the request. All the @*Param annotations take a key of some form which is used to look up the value required.

JAX-RS 2.0[edit]

In January 2011 the JCP formed the JSR 339 expert group to work on JAX-RS 2.0. The main targets are (among others) a common client API and support for Hypermedia following the HATEOAS-principle of REST. In May 2013, it reached the Final Release stage.[3]

On 2017-08-22 JAX-RS 2.1[4] specification final release was published. Main new supported features include server-sent events, reactive clients, and JSON-B.[5]

Implementations[edit]

Implementations of JAX-RS include:[6]

References[edit]

  1. ^ Hadley, p. 1.
  • ^ "Rename package commit on Github". GitHub.
  • ^ "JSR 339: JAX-RS 2.0: The Java API for RESTful Web Services". Java Community Process.
  • ^ "JSR 370: Java API for RESTful Web Services (JAX-RS 2.1) Specification". Java Community Process.
  • ^ "JSR 367: Java API for JSON Binding (JSON-B)". Java Community Process.
  • ^ Little, Mark (October 1, 2008). "A Comparison of JAX-RS Implementations".
  • External links[edit]

    Tutorials[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Jakarta_RESTful_Web_Services&oldid=1226486489"

    Categories: 
    Java enterprise platform
    Java API for XML
    Web service specifications
    Hidden categories: 
    Articles with short description
    Short description is different from Wikidata
    Webarchive template wayback links
     



    This page was last edited on 30 May 2024, at 23:06 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki