TSS翻譯:幫我選一個(gè)Java Web開發框架吧
發表時(shí)間:2008-11-28
發布人(rén):融晨科技
浏覽次數:61
TSS:幫我選一個(gè)Java Web開發框架吧
最近 TheServerSide.com 上(shàng)一篇文章引起了(le/liǎo)常常的(de)讨論。地(dì / de)址見這(zhè)裏:Chose a web client framework。
Chester Chen (cchen@ascentmedia.com)的(de)需求很簡單:
他(tā)們公司的(de)基本環境是(shì):
開發環境: mix of Linux and Windows, Java, EJB (2 and 3);
部署環境: linux, Glassfish for the new project (UI only), existing projects using WebLogic Server 10.3.
他(tā)對新框架的(de)期望是(shì):
學習曲線不(bù)要(yào / yāo)太陡,同時(shí)足夠成熟、對Ajax有良好的(de)支持,便于(yú)開發,對後端的(de)數據模型沒有嚴格的(de)限制。
目前他(tā)們考慮的(de)框架有:wicket, Seam, and Struts2 。
我想Chester Chen大(dà)概花5分鍾寫的(de)帖子(zǐ)沒想到(dào)上(shàng)了(le/liǎo)TSS的(de)首頁,并且還引來(lái)了(le/liǎo)長篇讨論。
這(zhè)些讨論裏,有GWT的(de)擁泵者、有Flex的(de)推銷員,還有些人(rén)還不(bù)厭其煩的(de)推薦:Wicket和(hé / huò)Stripes(a simpler, lighter, cleaner version of Struts 2) ,還有 zKoss、Lift 等等不(bù)一而(ér)足。
也(yě)有很專業的(de)咨詢者,比如Anil Kommareddi ,列舉了(le/liǎo)以(yǐ)下要(yào / yāo)考慮的(de)4點:
1、開發團隊是(shì)否完善 2、開發團隊的(de)技術情況 3、框架開發者社區和(hé / huò)支持 4、框架的(de)組件是(shì)否完善
而(ér) Daniil S 估計是(shì)個(gè)憤青,看看他(tā)的(de)評論,每一個(gè)他(tā)看上(shàng)眼的(de)(估計是(shì)從MS那邊轉過來(lái)的(de)):
I've spent about 3 months looking for framework. The biggest issues that came up were the learning curve, ease of installation and simplicity. Some thoughts:
* struts - skipped this one due to a lot of negative bias among friends/developers. Everyone I know has some kind of an issue with it, installation or development hurdles.
* tapestry - the learning curve was too great. Hard to find some simple example of a simple task such as login/logout. Too much restriction on correctness of HTML.
* wicket - loved it, but installation process was a bit hard and required a lot of customizations on IDE part. HTML pages were in a weird directories and our HTML guy got confused.
* spring - learning curve is too steep.
做Java的(de)開發員大(dà)概都有一個(gè)很深的(de)體會,付出(chū)多收獲才能更多。看看 Pablo Krause 的(de)豪華陣容吧:
ExtJS: for a Rich Internet Application front end
DWR: Direct Web Remoting, for communicating with Java backend.
Acegi: For security stuff (now part of Spring)
Hibernate: For Object Relational Mapping
Spring: For gluing it all together.
如果你對 Stripes 不(bù)了(le/liǎo)解(我現在(zài)也(yě)不(bù)了(le/liǎo)解),可以(yǐ)看看這(zhè)篇文章:Stripes ...and Java Web Development is Fun Again 。
其他(tā)的(de)一些資源:
主站:http://www.stripesframework.org
快速入門:http://www.stripesbook.com/blog/index.php?/archives/19-Stripes-Quickstart.html
插件: http://www.stripes-stuff.org
Mail List :http://news.gmane.org/gmane.comp.java.stripes.user
在(zài)你眼花缭亂之(zhī)前,拿 Web Frameworks of the Future: Flex, GWT, Grails and Rails 作爲(wéi / wèi)結尾吧。
(這(zhè)篇文章很早就(jiù)翻譯(我這(zhè)好像不(bù)是(shì)翻譯)了(le/liǎo),今天貼出(chū)來(lái)。新的(de)csdn編輯器也(yě)不(bù)順手。)