title: Use cases for @WebInitParam
body: <p>Since the Servlet 3.0 specification there is the possibility of declaring servlet mapping metadata as annotation on the servlet class:</p>
  
  <pre><code>@WebServlet(name="appInfoServlet", urlPatterns ="/appInfo", initParams = @WebInitParam(name="ocwd.deployer.email", value="admin@example.com"))
  public class AppInfoServlet extends HttpServlet {
  
  }
  </code></pre>
  
  <p>What I do not understand though is the use case for keeping init parameters in the same class as the servlet. As far as I understand these parameters are to be kept separate from the class and placed into the deployment descriptor.</p>
  
  <p>What use cases are there for specifying init parameters within the <code>@WebServlet</code> annotation?</p>