title: ApplicationListener vs ServletContextListener
body: <p>What is the difference between ApplicationListener and ServletContextListener? When do you use them?</p>
  
  <pre><code>implements ApplicationListener&lt;ContextStartedEvent&gt; 
  
  implements ServletContextListener
  </code></pre>