1 Reply Latest reply on Nov 10, 2009 4:49 PM by luxspes

    What is the Seam container technically?

    asookazian

      DAllen refers to the container extensively throughout SiA.  I was reading JSFiA: A container is a system that hosts components and provides a set of services that allow those components to be manipulated.


      So what classes and/or interfaces in the Seam codebase provide this functionality as the container?

        • 1. Re: What is the Seam container technically?

          Arbi Sookazian wrote on Nov 08, 2009 21:26:


          DAllen refers to the container extensively throughout SiA.  I was reading JSFiA: A container is a system that hosts components and provides a set of services that allow those components to be manipulated.


          Ever used the strategy pattern? A container is simply an object that manages a strategy, its the context of the strategy: A strategy for a forum, a strategy for a e-commerce site, a strategy for a wiki, all those run inside the seam context.


          In other words, each component managed by seam  (all those with @Names) are strategies that run inside the seam context or container.



          So what classes and/or interfaces in the Seam codebase provide this functionality as the container?


          I think that maybe the answer to your question is: Seam core, I guess it is precisely that part (all the classes in Seam core: \jboss-seam-XXX.GA\src\main\org\jboss\seam\core ) that is going to be replaced by the Weld container.