grails 和 vaadin中文开发手册 哪个

热门日志推荐
人人最热标签
分享这篇日志的人常去
北京千橡网景科技发展有限公司:
文网文[号··京公网安备号·甲测资字
文化部监督电子邮箱:wlwh@··
文明办网文明上网举报电话: 举报邮箱:&&&&&&&&&&&&
请输入手机号,完成注册
请输入验证码
密码必须由6-20个字符组成
下载人人客户端
品评校花校草,体验校园广场 上传我的文档
 下载
 收藏
本人学识渊博、经验丰富,代码风骚、效率恐怖,JS、PHP、MySql无不精通,熟练掌握各种框架,深山苦练20余年,一天只睡4小时,千里之外定位问题,瞬息之间修复上线。
 下载此文档
正在努力加载中...
PacktPub.Vaadin.7.UI.Design.By.Example.Beginners.Guide.Jul.2013
下载积分:100
内容提示:PacktPub.Vaadin.7.UI.Design.By.Example.Beginners.Guide.Jul.2013
文档格式:PDF|
浏览次数:5|
上传日期: 15:20:15|
文档星级:
该用户还上传了这些文档
PacktPub.Vaadin.7.UI.Design.By.Example.Beginners.G
官方公共微信【转】Play, Rails, Wicket, Grails,
Tapestry, Lift, JSP, Context 性能比较 - 开源中国社区
当前访客身份:游客 [
当前位置:
This post shows&how to render&a list of product objects with associated category object using the webframeworks Rails, Wicket, Grails, Play, Tapestry, Lift, Context and JSP/Servlets. I’ve also benchmarked theresponse times. INTRODUCTION
Framework: JSP, JSTL, Servlets Specs: -JSP 2.1 -JSTL 1.2 -Servlet 2.5
Framework: Wicket Specs: -Wicket 1.5-RC3 Because of a bug ( https://issues.apache.org/jira/browse/WICKET-3740 ) in Wicket, which might impact performance, Wicket is also tested for the latest snapshot version of Wicket from trunk for 1.5-RC3. (Called “Wicket-trunk” in the test results.)
Framework: Grails Specs: -Grails 1.3.7 -Grails 1.4.0.M1
Framework: Ruby On Rails -Ruby 1.9.2-p180 -Rails 3.0.7 -WEBrick 1.3.1 (webserver) -mongrel 1.2.0.pre2 (webserver) -JRuby 1.6.2 -Trinidad 1.2.0 (embedded Tomcat for JRuby)
Framework: Play Specs: -Play 1.2.1
Framework: Lift Specs: -Lift 2.3 -Scala: 2.8.1
Framework: Play-Scala Specs: -play-1.2.2RC1 -play-scala-0.9.1
Static file test The static file test is rendering of plain HTML files served directly by the webserver (Tomcat). So no framework was used in this test. Test Results Note: that the more component based frameworks – such as Wicket and Lift – have multiple ways of doing things. Where the simpler MVC push frameworks – such as Rails, JSP, Play, Grails – usually have one way of doing it. Therefore, because there are multiple solutions in Wicket and Lift, there may be faster (and slower) solutions than I have used. However, I did try to use common solutions. Wicket-1.5rc3 and Wicket-1.5r5trunk use a ListView to iterate over the categories, but Wicketb-1.5rc5trunk uses a RepeatingView.
Test Remarks CPU Utilization is inaccurate
Effects of page size by unneeded whitespaces
JMeter JMeter impacts the test results. This might be due to JMeter using RAM or CPU. I should retest the tests with JMeters Distribution Graph disabled. Package sizes grails.war, 22.088kb jsp.war, 375kb lift.war, 14.111kb play.war, 29.124kb playscala.war, 53.119kb wicket.war, 2.200kb Discussion What suprised me is that even though JSP/JSTL, Rails, Grails and Play use about the same MVC model, the differences in performance are big. Simply switching from template system in Play framework from the default to Japid, has a huge impact (in this test 27 times faster). Most posts about JRuby on Rails tell that it is faster than Ruby on Rails, however in this test, Ruby on Rails was clearly faster in both the rendering of products and concurrent-user test. Also, most posts about Rails tell that Webrick is slower than Mongrel, but in this test, Webrick was a bit faster. JRuby on Rails running on Trinidad does perform faster than other Rails configurations when tested with concurrent users. Play-Scala using Netty NIO server is faster than Tomcat webserver. I wouldn’t expect the differences to be that big. It’s unclear whether these fast results are caused by Play-Scala being optimized for Netty, or that Netty is simply faster than Tomcat (and thus that other frameworks could also have faster results under Netty). Note that the memory usage of Play-Scala under Netty is a lot higher than under Tomcat. The section “Effects of page size by unneeded whitespaces” shows that unneeded whitespaces impact the response time. Frameworks can probably be optimized by stripping unneeded whitespaces from the templates during boot, even when HTTP gzip compression is enabled. (During the test, compression was disabled in Tomcat and Netty.) Questions -Does anybody know why the static file test under Tomcat is using so much memory? Blog post updates -30 May 2011: Added Play-scala (under Tomcat webserver) and Play-scala-netty (under Play’s builtin Netty webserver). Added the effects of unneeded whitespaces. Added Wicket-trunk, which is the latest Wicket snaphot from trunk (for 1.5-RC5), and info about a performance bug in Wicket. -31 May 2011: Added Play-Japid and JRails. -3 June 2011: Added Grails trunk. -13 June 2011: Added Tapestry, Context-framework and Grails-1.3.7-freemarker Project files The files (code, project, html) of this post can be found here:& 转自:
共有7个评论
<span class="a_vote_num" id="a_vote_num_
play-scala性能很不错啊~
<span class="a_vote_num" id="a_vote_num_
是play-scala-0.9.1-netty表现优异
<span class="a_vote_num" id="a_vote_num_
风云乍起……
<span class="a_vote_num" id="a_vote_num_
这个对比不错,可惜少了Spring MVC和GWT。
<span class="a_vote_num" id="a_vote_num_
wicket 真的还不错,在公司推荐过,可惜没被采纳
<span class="a_vote_num" id="a_vote_num_
wicket 貌似性能最差了,可能是干了太多前端应该干的事情
<span class="a_vote_num" id="a_vote_num_
wicket性能不差,请看英文原文后面的评论
Rails, Wicket, Grails, Play, Tapestry, Lift, JSP, Context, 2011,&
The Curious Coder’s Java Web Frameworks Comparison: Spring MVC, Grails, Vaadin, GWT, Wicket, Play, Struts and JSF, 2013,
更多开发者职位上
有什么技术问题吗?
老盖的其它问题
类似的话题}

我要回帖

更多关于 vaadin spring 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信