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

          Brief of Our Project (1)

          Posted on 2007-05-30 11:47 馬達+斯加 閱讀(222) 評論(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)

          主站蜘蛛池模板: 恩施市| 和田县| 东明县| 禹州市| 阳泉市| 义马市| 乳山市| 喜德县| 仁布县| 翁源县| 洛隆县| 和平县| 蓝山县| 武城县| 青田县| 珲春市| 定州市| 保山市| 盘锦市| 梁河县| 铜陵市| 东莞市| 大名县| 临邑县| 南投县| 远安县| 西青区| 鄂州市| 青川县| 册亨县| 玉龙| 垣曲县| 广昌县| 淮滨县| 宜昌市| 宜春市| 绍兴市| 克什克腾旗| 赣州市| 介休市| 巴楚县|