高效能Web Application開發架構Midwinter介紹(一)

來源:互聯網
上載者:User
文章目錄
  • Overview
  • Feature List
  • WebWork2 Feature List
  • 擴充Xwork 和 Spring


  

Overview

Midwinter高效能的web開發架構,整合了 Webwork2 ,Spring ,Hibernate ,包括了構架在 Middlegen上的代碼產生工具以及一個Demo的許可權管理系統.

Feature List
  • 高效能:整合了GZIPFilter,EHcache提高系統效能.
  • 柔性:使用了Pipeline(管道),Valve(閥門)來靈活處理系統中的事務.
  • Xwork(Command Pattern Framework):靈活的可定製的使用者介面.
  • 攔截器:開發人員可以靈活定義Xwork中的Interceptor.
  • 整合了webwork2和Spring:開發人員直接在xwork.xml設定檔中配置使用那個組件來提供服務.
  • Role Base許可權管理系統:一個User-Group-Role-Permission的許可權系統,包括認證,授權,加密等.
  • 動態校正:HTC靜態校正和運行期間Interceptor validation相結合.
  • 工作流程系統:整合了OSWorkflow作為工作流程系統.
  • Web UI組件:包括Tree,Tabs,Contextmenu.Toolbar等組件.
  • ModelDriven:NOT FormBean.不要再為你的每個Action帶上FormBean而煩惱.
  • DisplayTag:用velocity作為模板擴充了DisplayTag.
  • Custom Result:根據不同的需求定義不同的輸出格式,eg.JFreeChartResult,XmlTreeResult.
  • XmlHttp:以XmlHttp代替傳統的http,並對xml進行壓縮以提供速度,get,post方法可以使用xml方式提供靈活程度.
  • 漢字轉換為拼音:輸入代碼後,系統會根據字型檔直接把漢字的拼音和首拼音字母提取出來.該功能用在代碼選擇上,比如輸入"sh"然後按ctrl系統會發出xmlhttp get返回匹配項,如


WebWork2 Feature List

  • inversion of control
  • AOP-like interceptors for all actions .
  • packaging of actions, components and views.
  • flexible view types.
  • a faster, compiled expression language in OGNL .
  • a bunch of prebuilt interceptors and result types that ship with the framework.


擴充Xwork 和 Spring

對Webwork2,Xwork,Spring的擴充

  • WebWork2 Spring Integration

applicationContext.xml

WarningsecurityService必須在GrantGroupRoleAction中定義,並提供get,set方法

xwork.xml

 securityService/security/groups/listRolesInGroup.jsp listRolesInGroup 
  • Permissions Interceptor
 ${admin} securityService

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.