5 Replies Latest reply on Jun 15, 2010 7:56 AM by Nicklas Karlsson

    Weld-Spec: A managed bean with a public field has to be dependent???

    Jan Groth Novice

      found this in the Weld documentation (2.2.1. Managed Beans, towards the end)

      If a managed bean has a public field, it must have the default scope @Dependent.

      Can anybody clarify on this? I have absolutely no clue why this could make any sense...