5 Replies Latest reply on Oct 10, 2008 3:40 PM by luxspes

    Seam-gen new-action - Bad Description?

    dado0583

      Hi guys, am using jboss-seam-2.0.2.SP1.



      new-action
          Create a new Java interface and SLSB with key Seam/EJB3
          annotations.

          Example: seam new-action


      I ran this command hoping to get a Stateless session bean generated for me automatically. Here is the output of the command..


          [input] Enter the Seam component name


      MyAction


          [input] Enter the bean class name [MyAction] [MyAction]


      MyActionBean


          [input] skipping input as property bean.name has already been set.


          [input] Enter the action method name [myAction] [myAction]


          [input] Enter the page name [myAction] [myAction]


      To my suprise there are no @Statless annotations, and no local interface. Is this a poor description or am I missing something?


      Thanks,
      David