哪个更适合Java开发托管:Aptana? Google App Engine?切片主机?

时间:2021-10-01 21:08:02

I am split between the benefits of developing Java (non-commercial) webapps and deploying to something like Aptana or Google cloud, or just going with a Slice Host account. Tomcat or Jetty and MySQL are really my only big requirements. Aptana and Google App Engine come with some cool Eclipse deployment options, but does scalability really matter without a large user base for the apps?

我分为开发Java(非商业)webapps和部署到Aptana或Google云之类的好处,或者只是使用Slice Host帐户。 Tomcat或Jetty和MySQL真的是我唯一的要求。 Aptana和Google App Engine附带了一些很酷的Eclipse部署选项,但是如果没有庞大的应用程序用户群,可扩展性真的很重要吗?

Also, both Aptana and Google App Engine seem to be in infant stages, so I'm wondering if there will be too many restrictions, even for small time development. Anyone have experience with these?

此外,Aptana和Google App Engine似乎都处于婴儿阶段,所以我想知道是否会有太多限制,即使是小时间开发。有人有这方面的经验吗?

4 个解决方案

#1


I can't speak to Aptana but Google App Engine is a radically different development experience from what you'll get with something like Slicehost. It scales differently (i.e. you've got the possibility of handling much larger loads) but it's also totally different than running your own web app server (e.g. Glassfish, Tomcat, JBoss, etc.) and coding using "standard" Java tools.

我无法与Aptana交谈,但Google App Engine与Slicehost之类的东西完全不同。它的扩展方式不同(即你有可能处理更大的负载),但它与运行你自己的网络应用服务器(例如Glassfish,Tomcat,JBoss等)和使用“标准”Java工具编码完全不同。

With Slicehost or any hosted solution it's easy to setup your own development environment locally which exactly mimics what you'll be running on the server. Same software, same VM, maybe even the same version of Linux. You could even move to a different host and still be able to setup that same environment.

使用Slicehost或任何托管解决方案,可以轻松地在本地设置您自己的开发环境,这完全模仿您将在服务器上运行的内容。相同的软件,相同的VM,甚至可能是相同版本的Linux。您甚至可以移动到其他主机,但仍然可以设置相同的环境。

With Google App Engine you'll find yourself building on an emulator (you don't really run BigTable locally) so there's not a one to one correspondence between your environment and that on the server. There's no alternative place to move to and still be running in the same environment either. Also, some perhaps many of the popular Java frameworks you might use for a web app development will either not work at all (e.g. ) or will not work out-of-the-box (see here for more details).

使用Google App Engine,您会发现自己构建在模拟器上(您并不真正在本地运行BigTable),因此您的环境与服务器上的环境之间不存在一对一的对应关系。没有替代的地方可以移动到并且仍然在相同的环境中运行。此外,一些可能用于Web应用程序开发的许多流行的Java框架要么根本不起作用(例如),要么不能开箱即用(有关详细信息,请参阅此处)。

I'm not down on the App Engine, in fact, I think it's really cool. If the demand for your apps is relatively low and therefore you're not in need of the huge scaling requirements, but your traffic is not so low that you fit comfortably within the free allowance at Google then I would probably lean towards a hosted solution like Slicehost instead.

我并没有关注App Engine,事实上,我认为它非常酷。如果对您的应用的需求相对较低,因此您不需要巨大的扩展要求,但您的流量不是很低,以至于您可以轻松适应Google的免费限额,那么我可能会倾向于像而是Slicehost。

#2


I use slicehost and I am happy with the result so far. Its easy to upgrade your slice (I had to do it once already) and its easy to rollback to a backup of the slice (I had to do that once too). I am hosting Tomcat and MySQL.

我使用slicehost,我对结果感到满意。它很容易升级你的切片(我必须已经做过一次)并且它很容易回滚到切片的备份(我也必须这样做)。我正在托管Tomcat和MySQL。

#3


Bear in mind, Google App Engine does not give you a full JRE. You cannot spawn threads directly, for example. Also, I have found that the GAE datastore performance is too slow -- I run into timeout exceptions constantly. In sum, it is not a true application hosting solution. You have to heavily tailor your application to make it run on GAE.

请记住,Google App Engine不会为您提供完整的JRE。例如,您无法直接生成线程。此外,我发现GAE数据存储区性能太慢 - 我不断遇到超时异常。总之,它不是真正的应用程序托管解决方案。您必须严格定制应用程序以使其在GAE上运行。

#4


I'd suggest using Amazon Web Services. You get the power of the cloud with no limitations to your app, unlike App Engine.

我建议使用亚马逊网络服务。与App Engine不同,您可以获得云的强大功能,对应用程序没有任何限制。

#1


I can't speak to Aptana but Google App Engine is a radically different development experience from what you'll get with something like Slicehost. It scales differently (i.e. you've got the possibility of handling much larger loads) but it's also totally different than running your own web app server (e.g. Glassfish, Tomcat, JBoss, etc.) and coding using "standard" Java tools.

我无法与Aptana交谈,但Google App Engine与Slicehost之类的东西完全不同。它的扩展方式不同(即你有可能处理更大的负载),但它与运行你自己的网络应用服务器(例如Glassfish,Tomcat,JBoss等)和使用“标准”Java工具编码完全不同。

With Slicehost or any hosted solution it's easy to setup your own development environment locally which exactly mimics what you'll be running on the server. Same software, same VM, maybe even the same version of Linux. You could even move to a different host and still be able to setup that same environment.

使用Slicehost或任何托管解决方案,可以轻松地在本地设置您自己的开发环境,这完全模仿您将在服务器上运行的内容。相同的软件,相同的VM,甚至可能是相同版本的Linux。您甚至可以移动到其他主机,但仍然可以设置相同的环境。

With Google App Engine you'll find yourself building on an emulator (you don't really run BigTable locally) so there's not a one to one correspondence between your environment and that on the server. There's no alternative place to move to and still be running in the same environment either. Also, some perhaps many of the popular Java frameworks you might use for a web app development will either not work at all (e.g. ) or will not work out-of-the-box (see here for more details).

使用Google App Engine,您会发现自己构建在模拟器上(您并不真正在本地运行BigTable),因此您的环境与服务器上的环境之间不存在一对一的对应关系。没有替代的地方可以移动到并且仍然在相同的环境中运行。此外,一些可能用于Web应用程序开发的许多流行的Java框架要么根本不起作用(例如),要么不能开箱即用(有关详细信息,请参阅此处)。

I'm not down on the App Engine, in fact, I think it's really cool. If the demand for your apps is relatively low and therefore you're not in need of the huge scaling requirements, but your traffic is not so low that you fit comfortably within the free allowance at Google then I would probably lean towards a hosted solution like Slicehost instead.

我并没有关注App Engine,事实上,我认为它非常酷。如果对您的应用的需求相对较低,因此您不需要巨大的扩展要求,但您的流量不是很低,以至于您可以轻松适应Google的免费限额,那么我可能会倾向于像而是Slicehost。

#2


I use slicehost and I am happy with the result so far. Its easy to upgrade your slice (I had to do it once already) and its easy to rollback to a backup of the slice (I had to do that once too). I am hosting Tomcat and MySQL.

我使用slicehost,我对结果感到满意。它很容易升级你的切片(我必须已经做过一次)并且它很容易回滚到切片的备份(我也必须这样做)。我正在托管Tomcat和MySQL。

#3


Bear in mind, Google App Engine does not give you a full JRE. You cannot spawn threads directly, for example. Also, I have found that the GAE datastore performance is too slow -- I run into timeout exceptions constantly. In sum, it is not a true application hosting solution. You have to heavily tailor your application to make it run on GAE.

请记住,Google App Engine不会为您提供完整的JRE。例如,您无法直接生成线程。此外,我发现GAE数据存储区性能太慢 - 我不断遇到超时异常。总之,它不是真正的应用程序托管解决方案。您必须严格定制应用程序以使其在GAE上运行。

#4


I'd suggest using Amazon Web Services. You get the power of the cloud with no limitations to your app, unlike App Engine.

我建议使用亚马逊网络服务。与App Engine不同,您可以获得云的强大功能,对应用程序没有任何限制。