<s>
Jakarta	B-Language
RESTful	I-Language
Web	I-Language
Services	I-Language
,	O
(	O
JAX-RS	B-Language
;	O
formerly	O
Java	B-Language
API	I-Language
for	I-Language
RESTful	I-Language
Web	I-Language
Services	I-Language
)	O
is	O
a	O
Jakarta	O
EE	O
API	B-Application
specification	O
that	O
provides	O
support	O
in	O
creating	O
web	O
services	O
according	O
to	O
the	O
Representational	B-Protocol
State	I-Protocol
Transfer	I-Protocol
(	O
REST	O
)	O
architectural	O
pattern	O
.	O
</s>
<s>
JAX-RS	B-Language
uses	O
annotations	O
,	O
introduced	O
in	O
Java	B-Language
SE	I-Language
5	I-Language
,	O
to	O
simplify	O
the	O
development	O
and	O
deployment	O
of	O
web	O
service	O
clients	O
and	O
endpoints	O
.	O
</s>
<s>
From	O
version	O
1.1	O
on	O
,	O
JAX-RS	B-Language
is	O
an	O
official	O
part	O
of	O
Java	B-Language
EE	I-Language
6	I-Language
.	O
</s>
<s>
A	O
notable	O
feature	O
of	O
being	O
an	O
official	O
part	O
of	O
Java	B-Language
EE	I-Language
is	O
that	O
no	O
configuration	O
is	O
necessary	O
to	O
start	O
using	O
JAX-RS	B-Language
.	O
</s>
<s>
For	O
non-Java	O
EE	O
6	O
environments	O
a	O
small	O
entry	O
in	O
the	O
deployment	B-Language
descriptor	I-Language
is	O
required	O
.	O
</s>
<s>
JAX-RS	B-Language
provides	O
some	O
annotations	O
to	O
aid	O
in	O
mapping	O
a	O
resource	O
class	O
(	O
a	O
POJO	B-General_Concept
)	O
as	O
a	O
web	O
resource	O
.	O
</s>
<s>
The	O
annotations	O
use	O
the	O
Java	B-Language
package	I-Language
jakarta.ws.rs	O
(	O
previously	O
was	O
javax.ws.rs	O
but	O
was	O
renamed	O
on	O
May	O
19	O
,	O
2019	O
)	O
.	O
</s>
<s>
@Produces	O
specifies	O
the	O
response	O
Internet	B-Application
media	I-Application
types	I-Application
(	O
used	O
for	O
content	B-Protocol
negotiation	I-Protocol
)	O
.	O
</s>
<s>
@Consumes	O
specifies	O
the	O
accepted	O
request	O
Internet	B-Application
media	I-Application
types	I-Application
.	O
</s>
<s>
All	O
the	O
@*Param	O
annotations	O
take	O
a	O
key	O
of	O
some	O
form	B-General_Concept
which	O
is	O
used	O
to	O
look	O
up	O
the	O
value	O
required	O
.	O
</s>
<s>
@QueryParam	O
binds	O
the	O
method	O
parameter	O
to	O
the	O
value	O
of	O
an	O
HTTP	O
query	B-Protocol
parameter	I-Protocol
.	O
</s>
<s>
@HeaderParam	O
binds	O
the	O
method	O
parameter	O
to	O
an	O
HTTP	B-Protocol
header	I-Protocol
value	O
.	O
</s>
<s>
@CookieParam	O
binds	O
the	O
method	O
parameter	O
to	O
a	O
cookie	B-Application
value	O
.	O
</s>
<s>
@FormParam	O
binds	O
the	O
method	O
parameter	O
to	O
a	O
form	B-General_Concept
value	O
.	O
</s>
<s>
@DefaultValue	O
specifies	O
a	O
default	B-Language
value	I-Language
for	O
the	O
above	O
bindings	O
when	O
the	O
key	O
is	O
not	O
found	O
.	O
</s>
<s>
In	O
January	O
2011	O
the	O
JCP	O
formed	O
the	O
JSR	O
339	O
expert	O
group	O
to	O
work	O
on	O
JAX-RS	B-Language
2.0	O
.	O
</s>
<s>
The	O
main	O
targets	O
are	O
(	O
among	O
others	O
)	O
a	O
common	O
client	O
API	B-Application
and	O
support	O
for	O
Hypermedia	O
following	O
the	O
HATEOAS-principle	O
of	O
REST	O
.	O
</s>
<s>
On	O
2017-08-22	O
JAX-RS	B-Language
2.1	O
specification	O
final	O
release	O
was	O
published	O
.	O
</s>
<s>
server-sent	B-Language
events	I-Language
,	O
</s>
<s>
reactive	B-Architecture
clients	O
,	O
</s>
<s>
Implementations	O
of	O
JAX-RS	B-Language
include	O
:	O
</s>
<s>
WebSphere	B-Language
Application	I-Language
Server	I-Language
from	O
IBM	O
:	O
</s>
<s>
,	O
Java	B-Language
Application	O
Framework	O
optimized	O
for	O
Google	O
App	O
Engine	O
,	O
including	O
a	O
powerful	O
RESTful	B-Protocol
engine	O
and	O
comprehensive	O
Data	O
Authorization	O
model	O
.	O
</s>
