Stripes,Spring,Play(或?):使用哪种高性能Java框架? [英] Stripes, Spring, Play (or ?) : which high performance Java framework to use?

查看:118
本文介绍了Stripes,Spring,Play(或?):使用哪种高性能Java框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开始构建一个可能会看到很多流量的web应用程序。我们没有很多钱,所以我们想要降低硬件成本。
或多或少,我认为这意味着我们会尽可能地尽可能无状态(就像Wicket的方式 - 有可收藏的URL等等)。

<另一个问题是,我们会雇佣承包商(想oDesk或者说是elance)的大块工作 - 所以有一个寻找人才的问题。



我有看着Tapestry并看到很多API不稳定(请参阅:为什么你停止使用Tapestry?),这让我不愿意使用它。

Seam和Wicket是高度有状态的 - 我不在乎。



Grails看起来非常有趣。我知道与纯Java相比,性能有所下降,但它可能是值得的。



Stripes看起来不错,但我找不到已经构建的网站示例使用Stripes



您推荐哪种Java框架以提高性能和简单性? 在基于动作的框架中可以找到最好的性能(与基于组件的框架没有范例不匹配)。我的候选名单是Stripes first和Spring second。

Stripes Framework(Pro): b
$ b


  1. 快速

  2. SEO友好链接

  3. 优雅易懂的代码(每个动作1个线程) li>
  4. 低学习曲线,任何Java Web开发人员都可以快速学习它。

  5. <100>开放源代码100%,未来许可证更改的机会。 b $ b
  6. 专注于小型集成与任何堆栈。

Stripes Framework(反对):
$ b


  1. 不太熟悉

  2. >

    Spring MVC(Pro):



    1. SEO友好链接

    2. 很多开发人员都使用过Spring(但对于Spring MVC更少)。 Spring框架的一部分。

    Spring MVC(反对):


    1. 更高的学习曲线

    2. 更复杂的代码:因为bean需要进行编程以保证安全,结果是程序代码。
    3. 将来您可能需要从VM Ware购买许可证您希望获得所有最新的修补程序。

    4. 许可条款可以在未来版本中更改。



    We are beginning to build out a webapp which will probably see a lot of traffic. We dont have a lot of money, so we want to reduce hardware cost. More or less, I think that means we will try to be as stateless as possible (as the Wicket way suggests - have bookmarkable URLs, etc. etc.)

    The other problem is that we are gonna be hiring contractors (think oDesk or elance) for chunks of work - so there is the question of finding talent.

    I have looked at Tapestry and seen a lot of API instability ( see: Why did you stop using Tapestry? ) which makes me reluctant to use it.

    Seam and Wicket are highly stateful - not something I care for.

    Grails looks to be very interesting. I know that there is a performance hit as compared to pure Java, but it might be worthwhile.

    Stripes looks good, but I cant find examples of websites that have been built using Stripes

    Which Java framework do you recommend for performance and simplicity ?

    解决方案

    The best performance is to be found with the action based frameworks (no paradigm mismatch as the component based frameworks have). My Shortlist would be Stripes first and Spring second.

    Stripes Framework (Pro):

    1. Fast
    2. SEO friendly links
    3. Elegant easy to understand code (1 thread per action).
    4. Low learning curve, any Java web developer can quickly learn it.
    5. 100% open source, no chance of future license changes.
    6. Focused and small integrates with any stack.

    Stripes Framework (Against):

    1. Less well known
    2. Not full stack

    Spring MVC (Pro):

    1. Fast
    2. SEO friendly links
    3. Lots of developers have worked with Spring (but less with Spring MVC).
    4. Full stack, part of Spring framework.

    Spring MVC (Against):

    1. Higher learning curve
    2. More complex code: because beans need to be programmed tread safe, result is procedural code.
    3. You might need to buy licenses from VM Ware in the future if you want to get all latest patches.
    4. License terms can and have changed for future versions.
    5. Full stack, you might get more than you need.

    这篇关于Stripes,Spring,Play(或?):使用哪种高性能Java框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆