forked from eclipse-ee4j/jakartaee-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Milestone
Description
Recommended approach:
- Add a section at the end that describes the new Java SE Bootstrap feature in the Building RESTful Web Services with Jakarta REST chapter (https://jakarta.ee/learn/docs/jakartaee-tutorial/current/websvcs/jaxrs/jaxrs.html;
src/main/antora/modules/websvcs/pages/jaxrs/jaxrs.adoc). Use either the example in the article below or an example from here.- BONUS: Create a new example derived from the ones mentioned above in the [examples repo] (
https://github.com/eclipse-ee4j/jakartaee-examples/tree/main/focused/rest) and use that instead (please submit a PR to that repo with the example). This repo that has specific, simple examples, and is where future tutorial examples will go. See https://jakarta.ee/learn/docs/jakartaee-tutorial/current/security/security.html for examples of this approach (all of these examples are new).
- BONUS: Create a new example derived from the ones mentioned above in the [examples repo] (
- Add a CAUTION admonition that explains that
@Contexthas been deprecated and you can use CDI instead. I believe you can use@Injectinstead in all cases but I'd prefer that someone verify that before adding it to the text. See: https://jakarta.ee/specifications/restful-ws/3.1/jakarta-restful-ws-spec-3.1#context-injection. - Update links in the "Further Information about Jakarta REST" section (https://jakarta.ee/learn/docs/jakartaee-tutorial/current/websvcs/jaxrs/jaxrs.html#_configuring_jakarta_rest_applications;
src/main/antora/modules/websvcs/pages/jaxrs/jaxrs003.adoc)- Update the spec URL to point to the Jakarta REST 3.1: https://jakarta.ee/specifications/restful-ws/3.1/jakarta-restful-ws-spec-3.1.
- Remove the book reference
I'm not sure we need to say anything about multi-part requests, but if folks feel differently, we can add a new section for that with an example just like the Java SE example above.
References:
NOTE: Going forward, please give new sections meaningful names (i.e.
jaxrs-se-bootstrap.adocinstead ofjaxrs005.adoc).
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
🏗 In progress