4 Replies Latest reply on Jun 24, 2010 3:56 AM by Adrian Mitev

    Application scoped POJO starts twice

    Earnest Dyke Novice

      Greetings all,


      I have an application scoped POJO, which if I read the doc correctly should be a singleton (see below) but when I deploy the app, I see the constructor is executed twice. Any ideas what might cause this?


      Earnie!




      @Startup
      @Scope(ScopeType.APPLICATION)
      @Name("hackingMonitor")
      public class HackingMonitor implements Serializable {
      ...
      }