title: Microservices and Rest services deployed as jar file?
body: <p>Let's take the simple example, where I have multiplication service as part of single monolithic MathService(deployed as war).</p>
  
  <p>Now I need to deploy multiplication service as separate service(rest service) which MathService can call. The concept of dividing the single monolithic
  in to small maintainable service is microservice.</p>
  
  <p>But I am not sure is it mandatory to deploy Multiplication service as war file? Can it be still deployed as jar file on the web server?</p>
  
  <p>My understanding is that it should be war file as rest calls(HTTP call) needs to be handled by the servlet. Including servlet means it has to be war file.
  Is that correct?</p>