4 Replies Latest reply on Mar 12, 2007 8:27 PM by feor58

    DVD Store Demo

    feor58

      In the highlighted DVD Store seam demo, the entity beans aren't seam components. Why?

      Gabor

        • 1. Re: DVD Store Demo

          Why would they need to be?

          • 2. Re: DVD Store Demo
            feor58

            Hi Norman,

            thanks for your answer. Unfortunetly, i don't understand when would an entity bean need to be as seam component and when wouldn!t need to be. Do you help me in that question?

            Thanks, Gabor

            • 3. Re: DVD Store Demo

              You should generally not need entities to be seam components. Generally entities are part of the state of components and not components in their own right. Sometimes it may make sense to separate the view from the application components or to provide instances for framework components like EntityHome, but the general rule should be to not declare entities as components. When you do, you will probably want them to be declared in XML and not on the entity.

              • 4. Re: DVD Store Demo
                feor58

                Thanks, Norman