`
dazuiba
  • 浏览: 130836 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

1. Overview :1 What is WebWork

阅读更多
欢迎来到webwork2,webwork2是一个强大的,基于web的MVC框架.它建立在xwork之上.而xwork是一个基于命令模式(command pattern)的框架,独立与web应用,主要是做一些命令的转交.webwork的特性包括: 调度器,负责处理或委托客户端请求;其处理的结果依类型而支持多种显示层技术( JSP, Velocity, JasperReports, XML, FreeMarker);webwork有自己的tiglib,Velocity macros,可以用它来设置自己显示层的 look&feel. 调度器(Dispatchers ),调用特定的 action (xwork中),后者可以方便地调用数据模型(model ),并且可以将model非常方便的显示在jsp中.webwork的特性不只是以上这些,其真正强大的地方在于内置的simplicity and interoperability理念,用webwork可以大大缩小你的代码量,可以使你专注与业务逻辑建模,而将复杂的事情,比如构造Servlets,掩藏起来.
总结如下:
          1 一个灵活的Validation framework,可以在xml文件中配置,从而可
         以在运行时由拦截器调用.从而实现了与Action的解耦.支持客户端验证.
          2类型转换(Type conversion)使你的类可以方便地自由转换
          3一个结合了ognl的表达式语言(EL),允许dynamic object graph
            traversal,可以直接对方法进行调用,可以对值堆栈ValueStack中的 
        bean透明操作(transparent access ),支持jstl.
         4 对IOC的支持,IOC用很多优点,你可以通过在compement.xml中添加
        配置而添加组件(component ),而无需对component 注册
         5 Velocity 模板是一个可重用的组件,你可以通过它来轻易地改变显示
        look&feel.
         6 拦截器(Interceptors),可以在action执行前/后 拦截对action的请求
           从而可以大大简化action,增加代码重用的可能.
          7支持I18N(国际化)
          8由于ww对ioc的支持,使其可以非常方便与其他软件集成,包括
             Hibernate, Spring, Pico, Sitemesh.
分享到:
评论

相关推荐

    Android代码-IndicatorSeekBar

    This is a customizable SeekBar library on Android. Also, If you don't need indicator and want to show tick texts to top of seek bar, please see the other library. 中文.md OverView Screenshot Demo ...

    Android代码-RetrofitUrlManager

    // When building OkHttpClient, the OkHttpClient.Builder() is passed to the with() method to initialize the configuration OkHttpClient = RetrofitUrlManager.getInstance().with(new OkHttpClient.Builder...

    Jump Start HTML5

    Basics: What is HTML5? Chapter 2. Basics: The Anatomy of HTML5 Chapter 3. Basics: Structuring Documents Chapter 4. Basics: HTML5 Forms Chapter 5. Basics: Multimedia, Audio and Video Chapter 6. ...

    Android代码-TickSeekBar

    This is a customizable SeekBar library on Android. Also, If you need Indicator to show top of seek bar, please see the other library. 中文.md OverView Screenshot Demo download Scan QR code to ...

    DAOS技术手册.docx

    一、Architecture Overview DAOS的架构主要由三个部分组成:Compute Node、Storage Node和Client。Compute Node 负责处理计算任务,Storage Node 负责存储数据,Client 负责与DAOS交互。DAOS使用RAID和 Erasure ...

    Android代码-WheelPicker

    Overview ![Size](https://img.shields.io/badge/Size-17 KB-e91e63.svg) Contact Preview Demo WheelPicke.APK Include Compile compile 'cn.aigestudio.wheelpicker:WheelPicker:1.1.2' or ...

    Node.js: JavaScript based framework. Easy Guide Book

     A Brief Overview  Management of Module Dependencies  Require and Exports  Asynchronous Flow Control using Promise  Management of Node.js callback Hell  Promise Methods  Execution ...

    Android代码-StompProtocolAndroid

    Overview This library provide support for STOMP protocol https://stomp.github.io/ At now library works only as client for backend with support STOMP, such as NodeJS (stompjs or other) or Spring Boot ...

    MemoryAnalyzer-1.9.1.20190826-linux.gtk.x86_64.zip

    官网一直下载不了,找这个找了好久,因为生成的dump文件太大不得不用linux..../ParseHeapDump.sh java_pid1089.hprof org.eclipse.mat.api:suspects org.eclipse.mat.api:overview org.eclipse.mat.api:top_components

    Nios II 软件开发参考手册

    1. Overview Revised: May 2004 Part number: NII52001-1.0 2. Tour of the Nios II IDE Revised: September 2004 Part number: NII52002-1.1 3. Overview of the HAL System Library Revised: May 2004 Part number...

    Android代码-ReLinker

    The Android PackageManager's native library loading is unreliable. Occasionally when using native libraries, you will encounter a stack trace like this: java.lang.UnsatisfiedLinkError: Couldn't load ...

    Wiley.Publishing.Professional.Linux.Kernel.Architecture.2008.pdf

    Chapter 1: Introduction and Overview ..... . . . . . 1 Chapter 2: ProcessManagement and Scheduling .... . 35 Chapter 3: Memory Management ..... . . . . . . . 133 Chapter 4: Virtual ProcessMemory ........

    Build Report Tool v3.5.zip

    1. Overview: 该报告的摘要. 2. Project Settings: 显示project settings 内容 3. Size Stats: 显示生成的文件大小和 一个列表 什么资源其中资产占用了什么上生成的 空间的百分比。 4. Used Assets: 显示的列表 *...

    CMOS_Circuit_Design_Layout_and_Simulation_2nd_Baker.part01

    Chapter 1: Introduction to CMOS Design. Chapter 2: The Well. Chapter 3: The Metal Layers. Chapter 4: The Active and Poly Layers. Chapter 5: Resistors, Capacitors, MOSFETs. Chapter 6: MOSFET ...

    hadoop常见错误以及处理方法详解

    1、hadoop-root-datanode-master.log 中有如下错误:ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException: Incompatible namespaceIDs in导致datanode启动不了。原因:每次namenode format...

    MSIC.zip_MSI_Overview_NTDDK.d_delphix_d7_msi_Machine.dcu_update

    【标题】"MSIC.zip_MSI_Overview_NTDDK.d_delphix_d7_msi_Machine.dcu_update" 涉及的是一个关于Delphi编程的项目,其中包含与MSI(Microsoft Installer)相关的源代码,可能是一个用于创建或修改安装程序的工具。...

    最牛比的css菜单生成工具(收藏)-不下后悔一辈子

    1: Select 'Tools' --> 'Internet Options' from the IE menu. 2: Click the 'Advanced' tab. 3: Check the 2nd option under 'Security' in the tree (Allow active content to run in files on my computer.) ...

    CAPWAP Overview.ppt

    CAPWAP Overview.ppt Current Status and Overview of the CAPWAP Protocol.pdf 基于CAPWAP协议的集中式无线局域网架构.pdf CAPWAP介绍.ppt 这些都是一些capwap的介绍。 后期会奉上自己这段学习的一个总结!

    Learning OpenCV 3

    1. Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 What Is OpenCV? Who Uses OpenCV? What Is Computer ...

Global site tag (gtag.js) - Google Analytics