<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    kukooBlog

    look to the master, follow the master, walk with the master, see through the master, become the master.

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      213 隨筆 :: 0 文章 :: 285 評論 :: 0 Trackbacks

    At one end of a typical web application is the presentation layer. Many Java developers understand what Struts provides. However, too often, coupled code such as business logic is placed into an org.apache.struts.Action. So, let's agree on what a framework like Struts should provide. Here is what Struts is responsible for:

     

    • Managing requests and responses for a user.
    • Providing a controller to delegate calls to business logic and other upstream processes.
    • Handling exceptions from other tiers that throw exceptions to a Struts Action.
    • Assembling a model that can be presented in a view.
    • Performing UI validation.

     

    Here are some items that are often coded using Struts but should not be associated with the presentation layer:

     

    • Direct communication with the database, such as JDBC calls.
    • Business logic and validation related to your application.
    • Transaction management.
    • Introducing this type of code in the presentation layer leads to type coupling and cumbersome maintenance.

     

    Excerpt from "Wiring Your Web Application with Open Source Java" by Mark Eagle

     

    [NoteThis blog was migrated from my very old blog which was in the blogspirit.]


    Yourit ,
    Mycat Programming

    posted on 2005-06-02 09:17 kukooBlog 閱讀(847) 評論(0)  編輯  收藏 所屬分類: Java 、Programming
    主站蜘蛛池模板: 亚洲中文字幕无码亚洲成A人片| 亚洲毛片网址在线观看中文字幕| 国内精品久久久久久久亚洲| 亚洲乱亚洲乱妇24p| 好爽…又高潮了毛片免费看| 久久亚洲AV无码精品色午夜麻豆 | 一级毛片免费播放试看60分钟| 成人免费无码大片a毛片软件 | 亚洲国产视频久久| 97国产免费全部免费观看| 亚洲avav天堂av在线不卡 | 亚洲国产精品yw在线观看| 亚洲黄色免费观看| 亚洲一本之道高清乱码| 国产精品成人免费一区二区| 亚洲最大av资源站无码av网址| 成年女人喷潮毛片免费播放| 亚洲综合国产成人丁香五月激情| 成年女人午夜毛片免费看| 亚洲av最新在线观看网址| 亚洲?V乱码久久精品蜜桃| 中国一级毛片视频免费看| 日产亚洲一区二区三区| 女人18毛片免费观看| 青娱乐在线免费观看视频| 免费A级毛片在线播放| 亚洲人成小说网站色| 国产高清免费的视频| 亚美影视免费在线观看 | 亚洲综合在线另类色区奇米| 久久青草免费91观看| 丁香婷婷亚洲六月综合色| 国产猛烈高潮尖叫视频免费| 国产精品美女久久久免费 | 污污视频免费观看网站| 国产亚洲大尺度无码无码专线 | 蜜臀98精品国产免费观看| 日韩欧美亚洲中文乱码| 国产亚洲一区二区三区在线观看| 99在线在线视频免费视频观看| 亚洲精品女同中文字幕|