Struts 与 [j]Ruby on Rails
过去 9 个月我一直只使用 Ruby on Rails。
我被邀请加入该项目,他们目前正在使用 Struts 和 Tomcat。我过去曾使用过 Java,但由于多种原因,我发誓再也不会回去了。他们目前很难找到了解 Java 或愿意加入使用 Java 的项目的人。 (这是免费的,但有潜力)
我只是认为从长远来看我不能容忍 Struts,如果他们需要 Java 作为平台提供的安全性和扩展性等功能,那么他们可以稍后迁移到 jRuby。
我想听听你们的想法。
I've spent the last 9 months using Ruby on Rails exclusively.
I've been asked to join project and they are currently using Struts with Tomcat. I've done Java in the past and vowed never to go back for several reasons. They are currently having trouble finding people who know Java or are willing to join a project that uses it. (This is without pay but has potential)
I just don't think in the long run that I could tolerate Struts and if they need what Java as a platform offers like security and scaling, then they could migrate over to jRuby later on.
I'd like to hear what you guys think.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不同意 Java (JRuby) 本质上提供安全性或扩展性。性能非常接近基于 C 的解释器。您所获得的是在应用程序中使用 Java 类的能力。如果项目需要使用特定的Java库,或者部署堆栈必须是Java,我肯定会推荐JRuby(on Rails)。否则,jRuby on Rails 应用程序中的结果将与任何其他 Ruby on Rails 应用程序类似。
I disagree that Java (JRuby) offers security or scaling intrinsically. The performance is very close to C based interpreters. What you do get is the ability to use Java classes within your application. If the project has a need to use a specific Java library, or if the deployment stack must be Java, I'd definitely recommend JRuby (on Rails). Otherwise, expect similar results in a jRuby on Rails application as any other Ruby on Rails application.
Rails 或 Ruby 适合小型学校项目,
看看 Rail3,它的所有人员都取自 Struts2
现在的重点是如何使用 JavaScript,而不是服务器端编程,
你会失去所有的“简单性”。
Rails or Ruby are fine for small school projects,
look at Rail3 it has all the same staff taken from Struts2
Now the main point is how you work with JavaScript not server side programming,
and you lose all rails 'simplicity'.