2 Replies Latest reply on Mar 6, 2015 7:43 AM by jharting

    Confusion about Weld versions

    lukaszpg

      Greetings,

       

      I am a bit confused with Weld versioning. I have bought ebook featured on Weld main page to learn more about Weld. As far as I can see on the left side of Weld main page, is that featured version is 1.2. In the book, author is using Weld version 1.1. In downloads section I can see versions up to 3.0 right now. Can someone clarify the confusion? Which version should I use, if I'm going to start an project (it's going to start small, but may end big); the container I am going to use will be Wildfly8? What are differences between 1.2, featured on main page and 3.0 in the downloads section? Regards, Lukas.

        • 1. Re: Confusion about Weld versions
          mkouba

          Hi Lukas,

          Weld is the reference implementation of CDI (Java EE standard) and it's integrated into WildFly. WildFly 8.2 contains Weld 2.2.x which implements CDI 1.2. The "featured" version you're talking about is the version of CDI API, not Weld. Actually, the CDI API is the only dependency you need to develop a portable CDI application. Weld 3.x is not a stable version - it contains prototypes of changes currently being discussed by the CDI expert group for the upcoming CDI 2.0.

          • 2. Re: Confusion about Weld versions
            jharting

            Thanks for raising the question. I added more information to the list of frequently asked questions: http://weld.cdi-spec.org/documentation/#9