Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

What should a Spring Boot main file look to host a site on Heroku?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a project on IntelliJ and GitHub repositories with Wicket and Spring Boot frameworks. I have already created a Start.main Java file, like so:



I have been advised that while a Start.main Java file isn’t useful, perhaps a Spring Boot main file may be what my project needs to get onto Heroku. How would the main file be developed differently if it were to be made a Spring Boot main file?

P.S. The sources that inspired me when I developed the Java main file were, as so:

http://wicketinaction.com/2011/09/git-wicket-running-on-heroku/
https://github.com/dashorst/heroku-wicket-examples/commit/9a4b2b9273467c03b868ffa4537c4dc6e7475b30
https://devcenter.heroku.com/articles/java-webapp-runner
https://devcenter.heroku.com/articles/deploying-spring-boot-apps-to-heroku
https://devcenter.heroku.com/articles/github-integration
https://github.com/alexo/heroku-wicket-web-app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic