简体   繁体   English

如何将Java Webapp迁移到Heroku

[英]How do I migrate a Java webapp to Heroku

I have an app that uses Spring and is run with Jetty. 我有一个使用Spring并与Jetty一起运行的应用程序。 I was hosting it on an Amazon EC2 instance but now I want to put it on Heroku. 我将其托管在Amazon EC2实例上,但现在我想将其放置在Heroku上。 If found the following link but I don't know if it covers everything and since I'm new to Heroku and, to a lesser extent GIT, it seems overwhelming: 如果找到了以下链接,但我不知道它是否涵盖所有内容,并且由于我是Heroku的新手,并且在较小程度上是GIT,所以似乎不知所措:

   http://blog.neo4j.org/2012/01/spring-onto-heroku.html

Does anyone have experience doing this and if so what is the first step? 有没有人有这样做的经验,如果是的话,第一步是什么? I do have a test Java app running on Heroku . 我确实在Heroku运行了一个测试Java应用程序。

The Heroku Dev Center should answer most of your questions: http://devcenter.heroku.com/categories/java Heroku开发中心应该回答您的大多数问题: http : //devcenter.heroku.com/categories/java

In particular, the Spring MVC example article should help you get started: http://devcenter.heroku.com/articles/spring-mvc-hibernate 特别是,Spring MVC示例文章应该可以帮助您入门: http : //devcenter.heroku.com/articles/spring-mvc-hibernate

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM