<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)  編輯  收藏 所屬分類: JavaProgramming
    主站蜘蛛池模板: 国产高清免费观看| 日韩a在线观看免费观看| 亚洲综合色婷婷七月丁香| 深夜a级毛片免费无码| 免费人成网站在线播放| 美女被免费视频网站a| 亚洲成?Ⅴ人在线观看无码| eeuss影院www天堂免费| 伊人久久综在合线亚洲91| 黄桃AV无码免费一区二区三区 | 三年片免费观看大全国语| 国产亚洲日韩在线三区| 两个人看的www免费高清| 国产精品亚洲精品日韩已满| 久久久久国产精品免费网站| 亚洲欧洲日产国码二区首页| 男女做羞羞的事视频免费观看无遮挡| 亚洲精品美女网站| 四虎永久在线精品免费观看地址 | 好紧我太爽了视频免费国产| 色噜噜综合亚洲av中文无码| 在线a级毛片免费视频| 国产亚洲蜜芽精品久久| 亚洲AV永久无码区成人网站| 91在线老王精品免费播放| 亚洲日韩中文字幕一区| 久久精品国产亚洲Aⅴ蜜臀色欲| 久久黄色免费网站| 亚洲精品美女久久久久久久| 亚洲综合网站色欲色欲| 亚欧免费视频一区二区三区 | 成a人片亚洲日本久久| 亚洲精品蜜桃久久久久久| 免费福利在线播放| 欧洲乱码伦视频免费国产| 久久亚洲精品成人无码网站| 日韩a级毛片免费视频| 三年片在线观看免费观看大全一| 亚洲人成网亚洲欧洲无码| 亚洲精品国产精品乱码在线观看 | 亚洲区日韩区无码区|