title: Heroku inquiry, running a Java application on Heroku
body: <p>I am trying to deploy and run a Java application on Heroku. It is a small application. And it comes with a database. </p>
  
  <p>Questions:
  on the Heroku website tutorial, it requires having Maven 3 installed. 
  Only Maven web application runs on Heroku? How about a non-Maven Jave EE application?</p>
  
  <p>The application is just a simple RESTful web service. After push the application to Heroku, it is not running. 
  It seems to me that a database has been created. But it showed error when tried to open the app. Do I have to create another database and do some configuration?</p>
  
  <p>I am new to this and have no clue. Can anybody shed some lights on this?
  Thanks.</p>
  
  <p>When I try to <code>heroku ps:scale web=1</code>
  it returns </p>
  
  <pre><code>Scaling dynos... failed" ! No such process type web defined in Procifile.**
  </code></pre>
  
  <p>What is <code>Procifile</code> and where is it?</p>