posts - 84, comments - 54, trackbacks - 0, articles - 0
             :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          Brief of Our Project (1)

          Posted on 2007-05-30 11:47 馬達+斯加 閱讀(227) 評論(0)  編輯  收藏 所屬分類: My life recorder
           

          Architecture

          The architecture is similar to that of my previous one – ZEUS, a weather forecasting system in Singapore Environment Agency. The main design goal is to provide a light-weight application environment to the users. MVC architecture with some proper J2EE design pattern ( e.g. Delegate, Dao, Service Locator ) is used to scale, perform and be able to re-use the common component in case if there is any new functionality being proposed in the future without jeopardizing the overall system architecture.

          The presentation tier is served by portlets, servlets and java server pages.

          The business tier is the application server hosted with the business components and application specific interface to the data tier. It is implemented in J2EE technologies and some open source framework (e.g. Spring, Struts).

          The persistence tier provides data services by the Oracle via a series of DAO interface, the ORM framework (iBatis) is required to persist the data in POJO.

           

          Design Pattern

          Context Objects: application context is used to across the application for information transfer and configuration.

          Application Controller: the controller provides a single point of entry to the application and as a mediator to dispatch the request to the business delegate.

          Business Delegate: a delegate serves as a façade to a series of business process and components and it partitions the application base on the functional requirements.

          Service Locator: provides simple interface to clients and reduces the complexity and increases reuse.

          Value Object: also can be called as Data Transfer Object.

          Dao Access Object: used to provide query and update to the data source and generate VO which return to the business delegate.

           

          Open Source Frameworks

          Nothing unusual, the OSFs are IBM Struts Portlet framework, Spring, iBatis. Why iBatis? Yes, developers who like Hibernate might doubt that. Simplicity is the biggest advantage of iBatis. There is little to learn that, even for a DBA of our clients without knowledge of Java. Otherwise, most of DBA trust SQL statements and stored procedures which configured by themselves and proved with better performance than H-SQL.

          (TBC)

          主站蜘蛛池模板: 广南县| 福贡县| 武鸣县| 新巴尔虎左旗| 永清县| 泸西县| 图们市| 类乌齐县| 永泰县| 潮州市| 宝鸡市| 原平市| 库伦旗| 阿拉善盟| 广饶县| 五大连池市| 四川省| 平安县| 晴隆县| 会昌县| 巨鹿县| 佛山市| 山东| 夹江县| 库伦旗| 百色市| 鄂伦春自治旗| 太白县| 休宁县| 井研县| 女性| 西乌珠穆沁旗| 兴仁县| 乳源| 陈巴尔虎旗| 嘉鱼县| 大姚县| 民丰县| 台东市| 阳城县| 武安市|