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

Support for multiple packages #39

Open
syedautherabbas opened this issue Mar 20, 2017 · 1 comment
Open

Support for multiple packages #39

syedautherabbas opened this issue Mar 20, 2017 · 1 comment

Comments

@syedautherabbas
Copy link
Contributor

Currently only one package name can be supplied , what if resources are spread across multiple packages or what if the code follows barebones mvc (some classes in controller package , some in services package, some in model) . Only those mentioned in the packageName property will be picked up and rest ignored.

@cagataygurturk
Copy link
Owner

cagataygurturk commented Mar 20, 2017

Valid point but remember that scanning more packages will increase the loading time of the Lambda. So it is better idea to narrow the scope of JAX-RS controllers. It can create some incompatibilities with existing project (which has controllers in different packages) but performance is also important...

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

2 participants