title: Best way to organise multiple endpoints within a single app
body: <p>I am new to Heroku and I have a question on how to best organise my JAVA app to run on the platform.</p>
  
  <p>The app I am developing will expose 3 REST endpoints. In order to properly scale the app I am thinking about running each endpoint on a dedicated dyno. The logic behind each endpoint isn't very complex and I am planning to keep it within the web dynos that run the endpoints.</p>
  
  <p>At the moment I have a single app with all 3 endpoints running on the same web dyno. 
  What's the best way to split my app so that I can have a process type per endpoint? 
  Should I create 3 different apps (one per process type) or can I define multiple process types (JAVA commands?) within a single application? What would my procfile look like?</p>