I think it’s better to say that JAX-RS requires you to use views .
My Foo , RESTful. Bar ( ) , . , , REST HTTP.
RESTful Foo/Bar , URI. , DTO, ( ) , , , , HATEOAS.
, . Foo → * Bar, Bar ? URI , , ,
.
GET foo/fff
<foo>
<link rel="self" uri="uri="foo/fff" />
<bar uri="bar/abc123">
<status="Active" />
</bar>
<bar uri="bar/qqq">
<status="Inactive" />
</bar>
</foo>
,
GET bar/abc123
<bar>
<link rel="self" uri="bar/abc123" />
<foo uri="foo/fff" />
<status>Active</status>
<title>Some Bar</title>
...
</bar>