Description
Philippe Marschall opened SPR-10354 and commented
These days every container has to do component scanning because more or less every EE specification — even servlets — requires the application server to discover classes annotated in a special way.
Since the application server controls the class loaders and deployments it's able to do so in an a reliable, stable and possibly more performant way compared to Spring. As application severs are beginning to fight over start up performance this an area that receives a lot of attention. Some like JBoss even go so far as to allow you to provide an index build at compile time to speed this up even further.
As Spring has always been about taking advantage of services provided by applications servers in a portable way that doesn't lock you in I think you would be a great feature.
Issue Links:
- Spring-specific index file for component candidate classes [SPR-11890] #16509 Spring-specific index file for component candidate classes
0 votes, 5 watchers