WebWork

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第3行: 第3行:
 
==WebWork简介==
 
==WebWork简介==
 
[[Image:webwork-arch.png|thumb|right|WebWork Architecture]]
 
[[Image:webwork-arch.png|thumb|right|WebWork Architecture]]
WebWork是由OpenSymphony组织开发的,致力于组件化和代码重用的拉出式MVC模式J2EE Web框架。WebWork目前最新版本是2.1,现在的WebWork2.x前身是Rickard Oberg开发的WebWork,但现在WebWork已经被拆分成了Xwork1和WebWork2两个项目。 Xwork简洁、灵活功能强大,它是一个标准的Command模式实现,并且完全从web层脱离出来。 Xwork提供了很多核心功能:前端拦截机(interceptor),运行时表单属性验证,类型转换,强大的表达式语言(OGNL – the Object Graph Notation Language),IoC(Inversion of Control倒置控制)容器等。 WebWork2建立在Xwork之上,处理HTTP的响应和请求。WebWork2使用ServletDispatcher将HTTP请求的变成 Action(业务层Action类), session(会话)application(应用程序)范围的映射,request请求参数映射。WebWork2支持多视图表示,视图部分可以使用 JSP, Velocity, FreeMarker, JasperReports,XML等。在WebWork2.2中添加了对AJAX的支持,这支持是构建在DWR与Dojo这两个框架的基础之上.【EclipseWork:用于WebWork辅助开发的一个Eclipse插件】
+
WebWork是由OpenSymphony组织开发的,致力于组件化和代码重用的拉出式MVC模式J2EE Web框架。
 +
 
 +
WebWork目前最新版本是2.2.4,现在的WebWork2.x前身是Rickard Oberg开发的WebWork,但现在WebWork已经被拆分成了Xwork1和WebWork2两个项目。  
 +
 
 +
Xwork简洁、灵活功能强大,它是一个标准的Command模式实现,并且完全从web层脱离出来。 Xwork提供了很多核心功能:前端拦截机(interceptor),运行时表单属性验证,类型转换,强大的表达式语言(OGNL – the Object Graph Notation Language),IoC(Inversion of Control倒置控制)容器等。 WebWork2建立在Xwork之上,处理HTTP的响应和请求。WebWork2使用ServletDispatcher将HTTP请求的变成 Action(业务层Action类), session(会话)application(应用程序)范围的映射,request请求参数映射。WebWork2支持多视图表示,视图部分可以使用 JSP, Velocity, FreeMarker, JasperReports,XML等。在WebWork2.2中添加了对AJAX的支持,这支持是构建在DWR与Dojo这两个框架的基础之上.【EclipseWork:用于WebWork辅助开发的一个Eclipse插件】
  
 
==基本特色==
 
==基本特色==
 +
* A flexible Validation framework allowing you to decouple validation rules from your action code.
 +
* Type Conversion allowing you to easily convert objects from one class to another, solving one of the most tedious efforts when creating web apps.
 +
* A powerful Expression Language based on OGNL allowing dynamic object graph traversal and method execution and transparent access to properties from multiple beans using a ValueStack. Webwork also has the ability to use JSTL.
 +
* Inversion of Control integration that manages component lifecycle and dependencies without the need to build registry classes that clients must call to obtain a component instance. WebWork recommends Spring for IoC.
 +
* Reusable Tags that allow for easy and reusable component-oriented web development using Themes and Templates
 +
* Advanced Interceptors that provide for various rich functionality, including preventing multiple form submissions and executing long running queries in the background.
 +
* Hierarchical and pluggable support for Internationalization.
 +
* Easy integration with third party software including Hibernate, Spring, Sitemesh, and JSTL.
 +
* Support for many view technologies such as JSP, FreeMarker, and JasperReports.
 +
* Modular Configuration Files using packages and namespaces to manage hundreds of actions.
 +
* Advanced AJAX features provided by the ajax theme.
  
 
==相关链接==
 
==相关链接==

2007年1月4日 (四) 09:26的版本

Webwork-120.jpg

目录

WebWork简介

WebWork Architecture

WebWork是由OpenSymphony组织开发的,致力于组件化和代码重用的拉出式MVC模式J2EE Web框架。

WebWork目前最新版本是2.2.4,现在的WebWork2.x前身是Rickard Oberg开发的WebWork,但现在WebWork已经被拆分成了Xwork1和WebWork2两个项目。

Xwork简洁、灵活功能强大,它是一个标准的Command模式实现,并且完全从web层脱离出来。 Xwork提供了很多核心功能:前端拦截机(interceptor),运行时表单属性验证,类型转换,强大的表达式语言(OGNL – the Object Graph Notation Language),IoC(Inversion of Control倒置控制)容器等。 WebWork2建立在Xwork之上,处理HTTP的响应和请求。WebWork2使用ServletDispatcher将HTTP请求的变成 Action(业务层Action类), session(会话)application(应用程序)范围的映射,request请求参数映射。WebWork2支持多视图表示,视图部分可以使用 JSP, Velocity, FreeMarker, JasperReports,XML等。在WebWork2.2中添加了对AJAX的支持,这支持是构建在DWR与Dojo这两个框架的基础之上.【EclipseWork:用于WebWork辅助开发的一个Eclipse插件】

基本特色

  • A flexible Validation framework allowing you to decouple validation rules from your action code.
  • Type Conversion allowing you to easily convert objects from one class to another, solving one of the most tedious efforts when creating web apps.
  • A powerful Expression Language based on OGNL allowing dynamic object graph traversal and method execution and transparent access to properties from multiple beans using a ValueStack. Webwork also has the ability to use JSTL.
  • Inversion of Control integration that manages component lifecycle and dependencies without the need to build registry classes that clients must call to obtain a component instance. WebWork recommends Spring for IoC.
  • Reusable Tags that allow for easy and reusable component-oriented web development using Themes and Templates
  • Advanced Interceptors that provide for various rich functionality, including preventing multiple form submissions and executing long running queries in the background.
  • Hierarchical and pluggable support for Internationalization.
  • Easy integration with third party software including Hibernate, Spring, Sitemesh, and JSTL.
  • Support for many view technologies such as JSP, FreeMarker, and JasperReports.
  • Modular Configuration Files using packages and namespaces to manage hundreds of actions.
  • Advanced AJAX features provided by the ajax theme.

相关链接

精彩图集

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱