4 Replies Latest reply on Jun 26, 2007 2:59 PM by kgoedert

    bind data to process

    kgoedert

      Hi,

      I was reading the book jboss seam power and simplicity beyond java ee, and in chapter 18 a very simple jbpm process is showed. At a certain point it is said that, a better approach would be to use entity beans instead of pojos.

      How can I do that? Can I use
      @Intercept(InterceptionType.NEVER)
      @Scope(ScopeType.BUSINESS_PROCESS)
      @Entity
      @Table(name="tickets")

      in the same object? Should I do that? I doesn´t seam to me that I should. Which would be the right way to bind an entity bean to a jbpm process using seam?

      Thanks