超越自我

          一切皆有可能

           

          Struct

          0.定義
          Struts is open source software that helps developers build web applications
          quickly and easily. Struts relies on standard technologies—such as JavaBeans, Java
          servlets, and JavaServer Pages (JSP)—that most developers already know how to
          use. By taking a standards-based, “fill-in-the-blanks” approach to software development,
          Struts can alleviate much of the time-consuming grunt work that comes
          with every new project.
          Struts是一個能夠幫助開發者快速而簡單的開發web應用的開源軟件.Struts依賴像JavaBeans,servlet,
          和jsp等這些已被大部分開發者熟知的標準技術.在基于標準方面,Struts接近“fill-in-the-blanks”
          軟件開發標準,而且在每個新工程中更能減輕花費大量時間煩躁工作痛苦.
          1.simpleExample 提供最簡單的sample
          struts-config.xml  //配置strutsAction 和strutsBeanForm(Bean)
          sampleAction.java  //流轉action
          sampleBeanForm.java //java Bean
          sampleSuccess.jsp  //成功頁面
          sampleFailure.jsp  //fail頁面
          sampleInput.jsp    //激發action.do
          2.特性
          HTTP-centric:
           Struts is designed around the standard HTTP request-response
           model, familiar to many web developers.
          Standard logging:
           Struts can use the container’s default logging system and does not
           require another package to be configured or understood.
          Optional debug logging:
           Struts optionally logs a number of status messages during processing
           that can be helpful in debugging.
          Model neutral:
           Struts is not predisposed to any particular persistence layer.
          Collects implementation detail in a centralized configuration:
           The Struts configuration encapsulates the implementation detail for
           an application, or application module [Struts 1.1], so it can be
           reviewed and managed as a whole.
          Permits a different message resources file for each locale:
           Different translators can work on their own copy of the message
           resource file. Adding support for a new locale is simply a matter of
           adding another message resource file.
          Lightweight:
           Struts has relatively few core classes for developers to learn.
          Open source:
           Full source code is provided under the liberal Apache Software
           License, leaving all your options open.
          Strong developer community:
           There is a strong development community behind Struts. The mailing
           is very active. Many developer extensions are available.
          Strong vendor community:
           Struts is incorporated by several other products, including Jcorporate’s
           Expresso and IBM’s WebSphere. Struts-specific tools are also
           available from several vendors.
          Strong product support:
           Struts has its own professionally managed JGuru forum. The Struts
           mailing list is available through at least two other support portals.
           Struts has been covered in dozens of articles and several books, and
           has been addressed at professional seminars by several organizations.
          Strong development team:
           Over 30 developers contributed to Struts 1.1. The Struts team is currently
           composed of nine active Committers, who share full responsibility
           for the source code.
          Stable releases:
           The Struts formal releases follow a long testing period with no set
           deadline, so teams can be assured of a high-quality product.
          i18n support:
           Support for localization is built into Struts from the ground up.
          High compliance/mainstream mindset:
           Struts is dedicated to providing a product that is 100 percent compliant
           with public standards and that is in line with the development
           mainstream.
          Full-service tag extensions:
           Struts includes a set of general-purpose tag extensions in addition to
           those that use framework-specific resources. Together, they can meet
           all of your JSP needs, without you having to resort to scriptlets.
          Well-documented source code:
           The Struts JavaDocs are so detailed that you rarely, if ever, need to
           refer to the source. This is in addition to a high-level user guide to
           introduce developers to the framework.
          Strongly founded in design patterns:
           The Struts framework implements several classic patterns in its architecture
           that are familiar to most developers.
          Extensible:
           All default settings can be configured. The core Struts classes may be
           overridden and subclasses loaded in their place. The developer can
           customize key classes such as ActionForm and Action.
          以HTTP為中心         -Struts是圍繞被大部分Web開發人員熟知HTTP請求/相應模型而設計的;
          標準的日志           -Struts能使用默認的日志系統不需要其他包去配置和解釋;
          可選的DEBUG日志      -Struts可以記錄大量的進程中消息狀態,這對DEBUG十分有幫助;
          中立性的模型         -Struts不傾向任何特殊的持久化層;
          集中配置             -Struts配置記錄一個應用或是一個應用模塊詳細信息,所以它可以作為一個整體被預覽和管理;
          信息配置文件locale   -Struts給不同的翻譯器提供信息資源文件副本.
          輕量級               -Struts有極少核心類讓開發人員去掌握.
          開源                 -Struts是在Apache自由軟件基金License下完全開源的
          強大的開發交流
          強大的商業交流
          強大產品支持
          強大的開發小組
          可伸縮版本
          i18n支持
          服從主流思想
          全服務TAG擴展        -Struts除了使用制定框架資源,還包括一系列常用TAG擴展.
          很好文檔源文件代碼   -Struts的JAVADOCS為了高級用戶指導開發框架.
          強大模式設計基礎     -Struts在它的體系中實現了幾個經典模式并為大部分開發者熟悉.
          可擴展性             -所有默認設置都能被配置.這個核心Struts類可以overridden和子類在各自位置裝載,開發人員可以定制像ActionForm,Action關鍵類     
          附加-弱點
          No event model:                     Struts的事件是嚴格遵守請求/相應HTTP,這樣限制了開發人員使用其他事件
          Debugging:                          Struts沒有提供自動debug事件.
          No default data model or concrete recommendations:
          Single ActionServlet:
          Requires understanding of Struts components:
          Vendor does not offer priority support:
          Mailing list is a embarrassmentof riches:
          Formal releases are not rapid:     
          i18n limitations:                   盡管Struts信息資源在國際化標簽和錯誤信息方面國際化做的很好,但沒有大塊信息國際化
          JSP mindset:                        當使用它的MVC體系使得的它資源在任何現有系統中可用.對JSP長期存在隱患
          JSP exception localization:         需要系統級消息不是國際化的.仍然是英語
          Tag properties are verbose:         Struts擴展必須提供幾個參數對程序開來顯的笨拙.
          The perform and execute signatures: perform方法是系統的瓶頸,但Struts1.1提供了execute方法來解決這個問題
          Fuzzy nomenclature:使人迷惑術語
          3.關鍵字/關鍵用語
          4.技術
          5.原理
          6.同類對比
          7.深入研究
          8.Referrence
          <Struct in  Action>
          JSF
          0.定義
          JavaServer Faces technology is a server-side user interface component framework for
          Java technology-based web applications.  It includes
          A set of APIs for: representing UI components and managing their state,
          handling events and input validation, defining page navigation, and supporting
          internationalization and accessibility.
          A JavaServer Pages (JSP) custom tag library for expressing a JavaServer Faces interface
          within a JSP page.
          JSF技術是一個面向基于java Web應用的server面UI組件框架.它包括一系列表現UI組件和管理它們的狀態
          處理事件和有效的輸入,定義頁面導航,支持國際化和易用化.為了表達一個JSF接口,一個JSP僅在一個頁面定制標簽庫.
          1.simpleExample 提供最簡單的sample(獨立的,不與其他框架聯系)
          2.特性
          There are many features available in JavaServer Faces Technology. Some of the main feature highlights include:
          Managed Bean Facility
          Validation Facility
          Rich and Extensible Component Library
          Pluggable render kits
          Navigation in Response to Specific User Events
          Preserving Application State Across Requests
          Conversion Model
          在JSF技術中有很多可利用的特性,以下為主要特性:
          管理Bean工具
          校驗工具
          充足而可擴展性組件庫
          可插入式的渲染組件
          響應指定用戶事件的導航
          保存應用狀態交叉請求
          轉化模型
          3.關鍵字/關鍵用語
          4.技術
          5.原理
          6.同類對比
          7.深入研究
          8.Referrence
          <JavaServer Faces in Action>

          posted on 2005-12-21 18:36 jame 閱讀(358) 評論(0)  編輯  收藏 所屬分類: Structs,spring,Hibernate等開源技術研究


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          UML

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 武宣县| 彭泽县| 乐业县| 莆田市| 仙桃市| 易门县| 灵川县| 土默特右旗| 桃园市| 蒲城县| 静海县| 虞城县| 普定县| 苗栗市| 江华| 忻州市| 句容市| 云霄县| 垣曲县| 二连浩特市| 石狮市| 建阳市| 永和县| 霍林郭勒市| 徐水县| 安图县| 石嘴山市| 贞丰县| 太湖县| 佛教| 泸州市| 准格尔旗| 西乡县| 仙游县| 册亨县| 正定县| 泗洪县| 肥城市| 临夏县| 任丘市| 岳西县|