Heroku supports deploying Java web applications via cmd line

You can upload a WAR file to Heroku and have your web. application up and running on your custom domain.

Read this! Its super easy – https://devcenter.heroku.com/articles/war-deployment

Essentially, you do the following (these are my internal notes )
1. Run Maven with package goal to generate a war
3. Login to heroku login
4. Go to the war directory path – i.e . cd PATH\target\war
5. Run the deploy command – i.e. looks something like this ..  heroku deploy:war –war java-blog-aggregator-0.0.1-SNAPSHOT.war –app akuong

Published by anthonykuong

Anthony is a versatile Software professional with around 10 years of experience. He is a Full Stack developer experienced with clients in the Financial, Health and Supply Chain industries. He is experienced with MVC frameworks ( Spring Boot) , SPA frameworks ( Angular , VueJS), and also supports automated build deployments and packaging for development, qa, and production servers.. He has delivered rich user experience using Modern web technologies and techniques such are HTML5, CSS3, ECMAScript 6 (ES6)/ ECMAScript 2015, CSS pre-processors (SASS, Less), JavaScript build tools (Grunt, Gulp) , various UI Frameworks including AngularJS , Knockout JS , and CSS Frameworks including Bootstrap, and Foundation. He is adaptable to new technologies and frameworks. He is a rigorous, quality-conscious contributor with solid analytical skills. I can also be found on youtube - Youtube Channel: https://www.youtube.com/user/akuong/

Leave a comment