I understand why someone will want to use the bean detection all or annotated, but I can not imagine when you need to use the discovery-none property. Can someone provide me with a good scenario where you would use bean detection? Thanks
If you use spring and you do not want the application server to go into your archive, you can use this.
If you have an archive in which there are no beans (for example, the JAR in the WAR file, which can only have models).