2 Replies Latest reply on Mar 30, 2010 5:23 PM by Chris Bredesen

    Create method is not executing on startup

    Arbi Sookazian Master

      Seam 2.0.2.  Why is the test1() method below not executing when I deploy my app?  I just had this working with a different app and different JavaBean...


      @Name("testRequiresNew")
      @Startup
      @Scope(ScopeType.SESSION)
      public class TestRequiresNewAction { 
      
           @In 
           private EntityManager entityManager;
           
           @Logger
           private Log log;
           
           @Create     
           public void test1() {
                log.info("TestRequiresNewAction: in test1()");
           }
      
      }