2 Replies Latest reply on Mar 14, 2008 9:31 AM by Jeff Liu

    Stateful Annotation Exception

    Jeff Liu Newbie

      Hello all
      When I try to migrate the Fans example to Seam 2.0, following exception throws

      javax.naming.NameNotFoundException: Name ManagerAction is not bound in this Context

      Here are the codes:

      public class ManagerAction implements Manager {
        @In (required=false) @Out (required=fal


      public interface Manager {
        public String sayHello ();
        // public String startOver ();
        public void findFans ();
        public void setPid (Long pid);
        public Long getPid ();
        public String delete ();
        public String update ();
        public void destroy ();

      But, if I remove the @Stateful annotation, the exception won't throws

      Does anyone know why?