<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
    主站蜘蛛池模板: 亚洲精品免费网站| 日韩毛片无码永久免费看| 久久久久亚洲精品无码网址 | 亚洲噜噜噜噜噜影院在线播放| 中文字幕第13亚洲另类| 国产综合激情在线亚洲第一页| 成人一级免费视频| 亚洲精品久久久www| 亚洲国产精品一区二区久久| 中文字幕乱理片免费完整的| 亚洲精品无码不卡在线播HE| 无码成A毛片免费| 亚洲伦理一区二区| **aaaaa毛片免费| 亚洲中文字幕无码一区二区三区| 亚洲精品国产福利片| 免费观看激色视频网站bd| 国产成人精品日本亚洲11| 好吊妞在线成人免费| 色老头综合免费视频| 亚洲精品无码国产| 久久久久久精品成人免费图片| 免费一级毛片不卡在线播放| 国产精品免费视频观看拍拍| 久久久久亚洲精品成人网小说| 亚洲色偷精品一区二区三区| 免费国产不卡午夜福在线 | 亚洲色偷偷偷网站色偷一区| 永久免费av无码网站韩国毛片| 久久亚洲国产精品123区| 免费国产黄网站在线观看视频| 免费在线观看你懂的| 免费国产在线视频| 国产亚洲sss在线播放| 亚洲免费无码在线| 久视频精品免费观看99| 妇女自拍偷自拍亚洲精品| 亚洲熟妇av一区二区三区| 亚洲AV成人一区二区三区观看 | 亚洲午夜福利在线观看| 久久国产精品免费视频|