How does JSF find beans annotated with @ManagedBean?
问题 As far as I know, for using @Annotations (or [Attributes] in C#) you have to have a reference to the class metadata, so that you can ask if the class is annotated (attributed) or not. My question is how does JSF implementation find all classes annotated with @ManagedBean? Does it scan all of the classes in the class path? Or is there a way to actually "query" the JVM for the annotated classes? I'm asking this because when I put my annotated backing beans in my web project directly, there's no