2 Replies Latest reply on Jul 8, 2009 6:00 PM by mwinter1

    DataModel on External POJO

      Hello,


      I'd like to include a jar with external classes to use them as entities in my seam app. Everything is working fine, except if the Properties of the entities are lists. I need to annotate them with @DataModel but i surely did not find a way to do that besides subclassing, is there a more elegant solution? e.g. Decorating those classes in components.xml?

        • 1. Re: DataModel on External POJO
          asookazian

          Interesting question.  So you're say you have some entities that you can't modify the source code directly yourself to add the @DataModel annotations?  B/c you don't have the src code?

          • 2. Re: DataModel on External POJO

            Well i have the access to the sourcecode and some people here work directly on it, but the architecture doesn't anticipate seam in the logic- and persistence layer where the entities life. The services and entities are pure ejb 3.0.