title: How do I go about performing a graceful shutdown (Java)?
body: <p>I understand that graceful shutdowns complete pre-existing requests whilst denying new requests. </p>
  
  <p>How would I go about performing a graceful shutdown of a Java application running on an Apache Tomcat instance? Unsure whether I need to extend my current application or if it's a simple terminal command.</p>