Hi! > But there are some issues with this: > First, what paths to scan? AFAIK the spec doesn't state the classpaths > to scan. I suppose only /WEB-INF/lib and /WEB-INF/classes need to be > checked, but I can't find it in the spec.
What ever the spec says, we definitely should provide a configuration parameter in web.xml where one can configure the packages to scan, else startup times of your webapp will be VERY bad. I had this in the past with shale-annotation. There I added such configuration already. We can strip the scanning/parsing out there - I'll contribute if required. Ciao, Mario