Table of Contents
- Description
- Presentation Slides
- Presentation Video
- Event Photos
- Event Highlights Video
- Continuous Integration
- Live Application
- References
- Useful Heroku CLI commands
This repo contains the source code of a JEE 7 web application used during the "Deploying JEE to HEROKU" session at the "Keyboards & Mice" iQuest public event, which took place in Brașov on October 12th, 2016.
The web application is composed of a servlet which reads some rows from a database via JPA, a simplified setup meant to present one approach to performing deployments on Heroku cloud application platform.
http://iq-kam-brasov-2016.herokuapp.com/demo/
- Heroku
- Official Site: https://www.heroku.com/home
- Pricing: https://www.heroku.com/pricing
- Heroku Architecture: https://devcenter.heroku.com/categories/heroku-architecture
- Limits: https://devcenter.heroku.com/articles/limits
- Elements: https://elements.heroku.com/
- Heroku CLI: https://devcenter.heroku.com/categories/command-line
- Buildpacks: https://devcenter.heroku.com/articles/buildpacks
- Deployment: https://devcenter.heroku.com/categories/deployment
- Error Codes: https://devcenter.heroku.com/articles/error-codes
- Java on Heroku: https://devcenter.heroku.com/categories/java
- Customize Maven: https://github.com/heroku/heroku-buildpack-java#customize-maven
- Heroku Java Support: https://devcenter.heroku.com/articles/java-support
- Troubleshooting Memory Issues in Java Applications: https://devcenter.heroku.com/articles/java-memory-issues
- Remote Debugging: https://jkutner.github.io/2015/05/19/heroku-remote-debug-java.html - TO BE CONFIRMED!!!
- PostgreSQL: https://devcenter.heroku.com/categories/heroku-postgres
- Connecting in Java: https://devcenter.heroku.com/articles/heroku-postgresql#connecting-in-java
- Alternatives:
- Red Hat OpenShift: https://www.openshift.com/
- IBM Blue Mix: http://www.ibm.com/cloud-computing/bluemix/
- Others
- WildFly Swarm
- Official Site: http://wildfly-swarm.io/
- User Guide: https://www.gitbook.com/book/wildfly-swarm/wildfly-swarm-users-guide/details
- Generator: http://wildfly-swarm.io/generator/
- Just Enough App Server with WildFly Swarm presentation by Antonio Goncalves: https://antoniogoncalves.org/2016/07/13/just-enough-app-server-with-wildfly-swarm/
- Alternatives:
- Payara Micro Edition: http://www.payara.fish/payara_micro
- Spring Boot: http://projects.spring.io/spring-boot/
- Others
- Java Enterprise Edition 7
- Official Site: http://www.oracle.com/technetwork/java/javaee/overview/index.html
- JEE7 Tutorial: https://docs.oracle.com/javaee/7/tutorial/
- Ticket Monster: http://developers.redhat.com/ticket-monster
- Database Migration Tools
- Drone.io
- Official Site: https://drone.io/
- Docs:
- Old: http://docs.drone.io/
- New: http://readme.drone.io/
- Source Code: https://github.com/drone/drone/
- Demos: https://github.com/drone-demos/
- Plugins: https://github.com/drone-plugins/
- Heroku Deployments: http://docs.drone.io/heroku.html
- Alternatives:
- Run Heroku application on a Windows machine:
heroku local -f Procfile.windows -e .env -p 6789
- Display all environment variables defined on the Heroku node:
heroku run printenv --app iq-kam-brasov-2016
- Display all config vars defined inside the Heroku application:
heroku config --app iq-kam-brasov-2016
- Display the details of the Heroku node OS:
heroku run 'cat /etc/*-release' --app iq-kam-brasov-2016
- Display the last 250 logged messages and keep monitoring the log:
heroku logs -t -n 250 --app iq-kam-brasov-2016
- Copy config var "DATABASE_URL", which contains the URL pointing to the Heroku managed PostgreSQL database, from Heroku application to the local .env file:
heroku config:get DATABASE_URL -s >> .env --app iq-kam-brasov-2016