10 Replies Latest reply on Nov 3, 2007 2:33 PM by Alessandro Lazarotti

    Entity withiout Injection --- How do construct a efficient D

    Alessandro Lazarotti Newbie

      I know that can´t use @In with Entities objects. But, I need inject "Repositories" in entity class for "find" things of my Domain Model.

      The designs, for example like Domain Model (DDD), says that logic and data exist in same class (Fowler/Evans). If use development with JBoss Seam, how can I construct a efficient Entity without injection (D.I.)?


      -----------------------------
      []´s
      Alessandro Lazarotti