<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 閱讀(851) 評論(0)  編輯  收藏 所屬分類: JavaProgramming
    主站蜘蛛池模板: 亚洲人成色777777精品| 久久亚洲AV成人无码电影| 亚洲日韩国产精品乱-久| 日韩亚洲国产综合高清| 成人黄色免费网站| 免费无码看av的网站| 男人的天堂亚洲一区二区三区| 色婷婷亚洲十月十月色天| 午夜老司机永久免费看片| 在线看片v免费观看视频777| 亚洲美女免费视频| 日韩在线免费视频| 伊人亚洲综合青草青草久热| 久久综合亚洲鲁鲁五月天| 永久在线免费观看| 亚洲无线码在线一区观看| 国产成人无码区免费内射一片色欲| 亚洲中文字幕在线第六区| 久久免费观看国产精品| 亚洲最新在线视频| 日韩电影免费在线观看视频| 污网站免费在线观看| 国产综合亚洲专区在线| 久久国产乱子伦免费精品| 亚洲首页国产精品丝袜| 久久免费国产精品一区二区| 亚洲国产精品婷婷久久| 日韩免费高清一级毛片| 亚洲中文字幕无码日韩| 亚洲成人免费网站| 久久亚洲AV成人无码国产电影| 国产午夜亚洲不卡| 国产成人亚洲精品91专区高清| 国产免费女女脚奴视频网| 亚洲av永久无码| 亚洲精品国产精品乱码视色 | 亚洲爆乳无码专区www| 精品国产亚洲一区二区在线观看| 97青青草原国产免费观看| 国产亚洲av片在线观看16女人 | 成人性生交大片免费看中文|