Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jakarta RESTful Web Services sections for Jakarta EE 10 #86

Open
kito99 opened this issue Nov 22, 2023 · 12 comments
Open

Update Jakarta RESTful Web Services sections for Jakarta EE 10 #86

kito99 opened this issue Nov 22, 2023 · 12 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@kito99
Copy link

kito99 commented Nov 22, 2023

Recommended approach:

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.adoc instead of jaxrs005.adoc).

@kito99 kito99 added this to the Jakarta EE 10 Updates milestone Nov 22, 2023
@kito99 kito99 added the help wanted Extra attention is needed label Nov 22, 2023
@kito99 kito99 changed the title Update Jakarta REST sections for Jakarta EE 10 Update Jakarta RESTful Web Services sections for Jakarta EE 10 Nov 22, 2023
@kito99
Copy link
Author

kito99 commented Nov 22, 2023

...

@kito99
Copy link
Author

kito99 commented Nov 22, 2023

@spericas please take a look and let me know (a) if this sounds correct, and (b) if you or someone on the committer team would like to contribute. Thanks!

@spericas
Copy link

@kito99 You cannot use @Inject as a replacement for @Context in all cases. There may be some implementations that support this in some cases, but for example, @Context can be used in parameter position.
Regarding contributions, perhaps you ask for help on the Jakarta REST list.

@kito99
Copy link
Author

kito99 commented Nov 27, 2023

thanks, @spericas! With respect to @Context, what is the CDI replacement in cases where @Inject doesn't work?

I'll definitely contact the mailing list.

@spericas
Copy link

thanks, @spericas! With respect to @Context, what is the CDI replacement in cases where @Inject doesn't work?

I'll definitely contact the mailing list.

For 4.0, we expect to support parameter injection directly, without the use of any special annotation. For that purpose, we plan to introduce a new @Body annotation to identify the request entity (currently identified by having no Jakarta REST annotations).

@kito99
Copy link
Author

kito99 commented Nov 28, 2023

@spericas ok, so it sounds like perhaps adding a warning admonition now might cause more confusion than necessary and people should just continue to use @Context for now?

@omniprof
Copy link

I just completed creating a workshop on REST 3.1 for the Eclipse Foundation. Ivar gave the workshop for the first time at EclipseCon last month and he and I will be giving it at Devnexus this April. In the workshop we look at SeBootstrap so possibly I could contribute some info on this topic to the tutorial.

@kito99
Copy link
Author

kito99 commented Dec 1, 2023 via email

@omniprof
Copy link

omniprof commented Dec 1, 2023 via email

@kito99
Copy link
Author

kito99 commented Dec 11, 2023

@omniprof have you had a chance to review yet?

@omniprof
Copy link

Sorry about running later than expected. Looking at it now.

@omniprof
Copy link

I just sent you, via Email, my tutorial on SeBootstrap. If this meets the needs of the Tutorial then I can move on and do the MultiPart tutorial.

@kito99 kito99 self-assigned this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants