2 Replies Latest reply on Oct 22, 2008 11:26 AM by joshua aaaaa

    Question about Seam Bean

    joshua aaaaa Newbie

      Hi all,
      I'm studying the JBPM integration todo example, I see there's a component Todo which manages the process:


      @Name("todoList")
      public class TodoList 
      {
         
         private String description;
         
         public String getDescription()
         {
            return description;
         }
      
         public void setDescription(String description) {
            this.description = description;
         }
         
         @CreateProcess(definition="simple")
         public void createTodo() {}
         
         @StartTask @EndTask
         public void done() {}
      
      }
      


      I see the @Name annotation but what kind of component is it ? is it an EJB? a POJO ? a Seam special component ?
      I'm asking this because I have a non-Seam project which uses EJB to call JBPM, now I want to turn my project into a Seam-based project....I want to evaluate the effort of turning EJB into this component.....
      thanks a lot
      joshua