posts - 17, comments - 1, trackbacks - 0, articles - 1
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

各个框架缺点

Posted on 2006-10-05 15:05 HotJava 阅读(749) 评论(0)  编辑  收藏 所属分类: J2EE

下面开始比较各个框架,仅摘要如下,请恕本人只看缺点,不看优点。因为优点是说不完的
Struts: used since June 2001 - same time 1.0 was released.
Spring MVC: used since January 2004 - before 1.0 was released.
WebWork: used since July 2004.
Tapestry: used since July 2004.
JSF: used since July 2004 - both Sun’s RI and MyFaces. 

Struts缺点:

ActionForms - they’re a pain
Can’t unit test - StrutsTestCase only does integration
Project has been rumored as “dead”

Display Tag:

Spring MVC缺点:

Configuration intensive - lots of XML
Requires writing lots of code in JSPs
Almost too flexible - no common parent Controller

WebWork缺点:

Small Community
Documentation is poorly organized

Tapestry缺点:

Documentation very conceptual, rather than
pragmatic
Steep learning curve - very few examples
Long release cycles - major upgrades every year

JSF缺点:

Tag soup for JSPs
Doesn't play well with REST or Security
No single source for implementation

SiteMesh:

 

IDE支持

Struts has a lot of IDE support and even has frameworks built on top of it (i.e. Beehive’s PageFlow)
Spring has Spring IDE - only does XML validation, not a UI/web tool
WebWork has EclipseWork
Tapestry has Spindle - great for coders
JSF has many, and they're getting better and better


只有注册用户登录后才能发表评论。


网站导航:
博客园   IT新闻   Chat2DB   C++博客   博问