@@ -0,0 +1,577 @@
+package de.asw.courses.web2016.demo.backend.servlet;%0A%0Aimport javax.servlet.ServletContextEvent;%0Aimport javax.servlet.ServletContextListener;%0Aimport javax.servlet.annotation.WebListener;%0A%0Aimport org.jboss.logging.Logger;%0A%0A@WebListener%0Apublic class WebListenerExample implements ServletContextListener %7B%0A%0A%09Logger log = Logger.getLogger(WebListenerExample.class);%0A%0A%09@Override%0A%09public void contextInitialized(ServletContextEvent sce) %7B%0A%09%09log.info(%22Context Initalized%22);%0A%09%7D%0A%0A%09@Override%0A%09public void contextDestroyed(ServletContextEvent sce) %7B%0A%09%09log.info(%22Context Destroyed%22);%0A%09%7D%0A%0A%7D%0A

Add WebListener example