Template of Java web and Heroku

Reading Time: < 1 minutes

I’ve worked in several projects with Java, specially Java web using Tomcat as a web container and then Glassfish as application server.

Lastly I’m working in Java projects deployed on Heroku, an amazing platform acquired by Salesorce.

I faced many problems configuring deployment, JPA with Tomcat, oauth Salesforce flow, etc. so I decided to gather them in a template:


  • Java 8
  • Maven 3
  • JSF 2.2.7 for presentation
  • Primefaces 6.1 for presentation
  • JPA 2.1
  • Hibernate 5.2.10
  • Netbeans 8.2
  • Force.com Partner API for Salesforce communication
  • GSON 2.8.0 for serializing / parsing json
  • Postgres SQL for persistence
  • Apache httpcode 4.4 for doing http requests

Full source code:

Photo by Danielle MacInnes on Unsplash

About the author

Andrés Canavesi
Andrés Canavesi

Software Engineer with 15+ experience in software development, specialized in Salesforce, Java and Node.js.

Related posts

Leave a Reply

%d bloggers like this: