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

          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) 評論(0)  編輯  收藏 所屬分類: JavaProgramming
          主站蜘蛛池模板: 曲麻莱县| 青川县| 南投市| 武陟县| 辽阳市| 施秉县| 峨山| 新沂市| 阿图什市| 根河市| 清新县| 治多县| 平泉县| 桐城市| 滕州市| 永嘉县| 永新县| 西充县| 安西县| 连山| 南充市| 泰和县| 安国市| 晴隆县| 徐州市| 玉树县| 龙岩市| 安康市| 晋江市| 囊谦县| 宜春市| 兴仁县| 张家口市| 郁南县| 丁青县| 大埔区| 马鞍山市| 贡嘎县| 隆德县| 达日县| 旅游|