3 Replies Latest reply on Dec 12, 2009 12:06 AM by asookazian

    CDI and Managed Beans spec

    asookazian

      following is from JEE6 tutorial:



      CDI is specified by JSR-299, which was formerly known as Web Beans. Related specifications that CDI uses include the following:




      • JSR-330, Dependency Injection for Java








      • The Managed Beans specification that is an offshoot of the Java EE 6 platform specification (JSR-316)





      What JSR is Managed Beans spec?  I can't find it here.

        • 1. Re: CDI and Managed Beans spec
          graben

          Hi Arbi just read your own post carefully. It is part of JSR 316. Look here for download JSR 316

          • 2. Re: CDI and Managed Beans spec
            asookazian

            Thanks.  I was assuming it would have its own JSR...

            • 3. Re: CDI and Managed Beans spec
              asookazian

              Managed Beans offer a lightweight component model aligned with the rest of the Java EE Platform.

              Lightweight sure does seem to be an important keyword in EE6: EJB Lite, web profile (slimming and pruning), etc.



              At the same time, their lightweight nature makes them a natural starting point to encapsulate application functionality, with the knowledge that they can be morphed into more powerful components if and when the need occurs.

              basically implying that you can upgrade to less-light EJB components...