Deploying JEE to Heroku

  • Published on

  • View

  • Download


<p>PowerPoint Presentation</p> <p>Deploying JEE to HEROKUBogdan Marian12 October 2016</p> <p>1</p> <p>About MeiQuest Java developer since 2015LinkedIn:</p> <p>Bogdan Marian</p> <p>2</p> <p>HerokuCloud application platformCedar stack (Heroku managed OS image)Ubuntu 14.04 LTSProcess model implemented via dyno manager Dyno = Linux containerConfigurations: web (HTTP only, must bind to PORT or be killed), worker (anything, except HTTP), one-off (heroku run command)Types: free, hobby, standard, performance, enterpriseA process is declared in a Procfile: : Heroku Elements (add-ons, buttons, buildpacks)Different languages (Java, PHP, Python, Ruby, etc.)Different databasesRelational: MySQL, PostgreSQL, SQLite, etc.NoSQL: Mongo DB, Redis, etc.Much moreHeroku CLIJava Different deployment models, including git and WARNo Java EE supportRun Java processes via: java jar *.jar</p> <p>General Information</p> <p>3</p> <p>WildFly SwarmJust-enough-appserverConstruction toolkit for minimalistic Java EE runtimes based on WildFly 10.1.0 Final application server UberjarRun Java EE applications via: java jar *-swarm.jarGeneral Information</p> <p>4</p> <p>DemoSource code: application:</p> <p>Deploying JEE to Heroku</p> <p>5</p> <p>DemoOn Heroku sideCreate a free accountAdd a new applicationAdd a PostgreSQL databaseSetup Java specific config varsAdd Java buildpackOn developer machineInstall Heroku CLIInstall GitClone repoSetup Heroku Git remoteDeploy via Git command: git push heroku masterOptionally, on side (replaces git push )Create a free accountSetup build with Heroku deploymentUpload SSH key to Heroku accountClick the Build Now buttonSteps</p> <p>6</p> <p>References on GitHub</p> <p>7</p> <p>Q&amp;A</p> <p>8</p> <p> Copyright 2016, iQuest Group. All rights reserved. Thank You!</p> <p>9</p>


View more >