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

Redo Application template to allow automatic scanning #187

Open
berezovskyi opened this issue Mar 12, 2021 · 0 comments
Open

Redo Application template to allow automatic scanning #187

berezovskyi opened this issue Mar 12, 2021 · 0 comments

Comments

@berezovskyi
Copy link
Member

berezovskyi commented Mar 12, 2021

https://eclipse-ee4j.github.io/jersey.github.io/documentation/2.25/deployment.html#deployment.servlet.3.pluggability.app remarks that if we return empty collections for both classes and singletons, Jersey will scan it for us.

P.S. Servlet 3.0 also allows to simplify web.xml: https://eclipse-ee4j.github.io/jersey.github.io/documentation/2.25/deployment.html#deployment.servlet.3.no.descriptor (I am more worried that we did not switch to servlet 3.0 properly if the code does not work without those lines rather than saving a few lines of XML). Maybe we were missing these maven modules https://eclipse-ee4j.github.io/jersey.github.io/documentation/2.25/deployment.html#deployment.servlet.containers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant