将应用程序部署到 Stax.net 非常容易。基本上,您可以使用 Maven/SBT 生成 WAR 文件,只需 通过 stax 命令行脚本上传 WAR 文件,无需在 stax.net 面板中创建应用程序,一切正常。
While GAE does support Lift/Scala in someway, but I in my experience, Stax.net is a better choice for Lift/Scala.
It's has a free but fully functional plan (including MySQL database), you could test your Lift/Scala appliction there.
It is easier than GAE, and Lift/Scala is officially support by stax.net (you could see that in this screenshot).
Deploy application to Stax.net is very easy. Basically, you could use Maven/SBT to generate a WAR file, and just upload the WAR file by stax command line script without create the application in stax.net panel, and everything just works fine.
除了 Lift(这是 Scala 著名的 Web 框架(每种语言都需要一个,对吧?:-D))之外,您还有很多选择(例如 Play),具体取决于您想自己做多少事情以及您有多少经验。
Basically you need a server/hosting which supports servlet containers (or the whole Java EE).
GAE (Google App Engine) and Stax (Stax.net) might be worth to investigate. It certainly depends on the features you are using. While Lift can run on GAE, it can't use things like Threads and has to use some workarounds which reduce scalability/performance. Stax seems to be a bit better in this regard.
Apart from Lift (which is Scala's well-known web framework (every language needs one, right? :-D) you have plenty of alternatives (like Play) depending on how much you want to do by yourself and how much experience you have.
I would recommend Webappcabaret Cloud (http://www.webappcabaret.com). The service uses SBT to build and deploy your Scala/Lift app and the price is reasonable.
发布评论
评论(4)
虽然 GAE 确实在某种程度上支持 Lift/Scala,但根据我的经验,Stax.net 是 Lift/Scala 的更好选择。
它有一个免费但功能齐全的计划(包括 MySQL 数据库),您可以在那里测试您的 Lift/Scala 应用程序。
它比 GAE 更容易,并且 Lift/Scala 得到了 stax.net 的正式支持(您可以在 此屏幕截图)。
将应用程序部署到 Stax.net 非常容易。基本上,您可以使用 Maven/SBT 生成 WAR 文件,只需 通过 stax 命令行脚本上传 WAR 文件,无需在 stax.net 面板中创建应用程序,一切正常。
While GAE does support Lift/Scala in someway, but I in my experience, Stax.net is a better choice for Lift/Scala.
It's has a free but fully functional plan (including MySQL database), you could test your Lift/Scala appliction there.
It is easier than GAE, and Lift/Scala is officially support by stax.net (you could see that in this screenshot).
Deploy application to Stax.net is very easy. Basically, you could use Maven/SBT to generate a WAR file, and just upload the WAR file by stax command line script without create the application in stax.net panel, and everything just works fine.
基本上,您需要一个支持 servlet 容器(或整个 Java EE)的服务器/托管。
GAE (Google App Engine) 和 Stax (Stax.net)可能值得研究。
这当然取决于您正在使用的功能。虽然 Lift 可以在 GAE 上运行,但它不能使用线程之类的东西,并且必须使用一些降低可扩展性/性能的解决方法。 Stax在这方面似乎要好一些。
除了 Lift(这是 Scala 著名的 Web 框架(每种语言都需要一个,对吧?:-D))之外,您还有很多选择(例如 Play),具体取决于您想自己做多少事情以及您有多少经验。
Basically you need a server/hosting which supports servlet containers (or the whole Java EE).
GAE (Google App Engine) and Stax (Stax.net) might be worth to investigate.
It certainly depends on the features you are using. While Lift can run on GAE, it can't use things like Threads and has to use some workarounds which reduce scalability/performance. Stax seems to be a bit better in this regard.
Apart from Lift (which is Scala's well-known web framework (every language needs one, right? :-D) you have plenty of alternatives (like Play) depending on how much you want to do by yourself and how much experience you have.
我推荐 Webappcabaret Cloud (http://www.webappcabaret.com)。
该服务使用 SBT 来构建和部署您的 Scala/Lift 应用程序,价格为
合理的。
I would recommend Webappcabaret Cloud (http://www.webappcabaret.com).
The service uses SBT to build and deploy your Scala/Lift app and the price is
reasonable.
我建议不要使用 GAE。它不支持完整的 JDK 规范(例如,创建线程)。这是一个严重的限制。
Stax.net是一个非常好的选择。
此外,您还可以使用 Amazon EC2 微型实例。
I would recommend against GAE. It does not support the full JDK spec (e.g., creating threads). This is a severe constraint.
Stax.net is a very good choice.
Also, you could use an Amazon EC2 micro instance.