9 Replies Latest reply on Dec 12, 2009 10:12 PM by Chris Bredesen

    Equivalence of @Named and @ManagedBean with JBoss 6.0.0 M1

    Ian R Newbie

      Hi (beginner query alert!),


      I was wondering what the equivalent of @ManagedBean and @Named annotations were, especially in JBoss 6.0.0 M1. I have a small JSF application which works well when the bean is set as @Managed. If I change it to @Named, the bean can no longer be found.


      My understanding was that it was equivalent, with @Named obviously opening up more options to do other injections.


      Am I misunderstanding something, or is something happening with JBoss 6.0.0 M1? I am using the standard download except that I changed the Faces version to 2.0.2-SNAPSHOT (there is a fatal bug in 2.0.1)?


      Thanks,


      Ian