kukooBlog

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

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            213 隨筆 :: 0 文章 :: 285 評(píng)論 :: 0 Trackbacks

          The middle component of a typical web application is the business or service layer. This service layer is often the most ignored layer from a coding perspective. It is not uncommon to find this type of code scattered around in the UI layer or in the persistence layer. This is not the correct place because it leads to tightly coupled applications and code that can be hard to maintain over time. Fortunately, several frameworks exist that address these issues. Two of the most popular frameworks in this space are Spring and PicoContainer. ........

           

          ..... The business layer should be responsible for the following:

           

          • Handling application business logic and business validation
          • Managing transactions
          • Allowing interfaces for interaction with other layers
          • Managing dependencies between business level objects
          • Adding flexibility between the presentation and the persistence layer so they do not directly communicate with each other
          • Exposing a context to the business layer from the presentation layer to obtain business services
            Managing implementations from the business logic to the persistence layer

           

          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:19 kukooBlog 閱讀(965) 評(píng)論(0)  編輯  收藏 所屬分類: JavaProgramming
          主站蜘蛛池模板: 高尔夫| 浦县| 遂宁市| 永济市| 定州市| 钟山县| 宝坻区| 沙坪坝区| 叶城县| 包头市| 县级市| 天台县| 石城县| 克什克腾旗| 桂东县| 邵阳市| 文昌市| 乌兰浩特市| 昌平区| 家居| 榆林市| 上犹县| 浑源县| 衡山县| 临泽县| 永泰县| 萨迦县| 北安市| 清丰县| 鹤庆县| 台东市| 丰镇市| 公主岭市| 从化市| 治县。| 惠来县| 南江县| 普宁市| 武陟县| 丹东市| 循化|