1 Reply Latest reply on Mar 17, 2009 3:28 PM by nimo stephan

    Listeners in AppScope

    nimo stephan Master

      I have something like:


      @Name(app)
      @Scope(APPLICATION)
      @Startup
      public class App implements HttpSessionListener,ServletContextListener {


      ..


      }


      Is it better to encapsulate the Listeners in its own class?


      Then I have to declare each listener in web.xml.


      Should I anything know about listeners and seam?