項目中Struts/Spring/Hibernate的基本流程

          Struts+Spring+Hibernate? develepment process:

          1.Write your business class : DTO,FormBean,Action,Service Interface,Service Implementation.


          2.Write JSP pages.


          3.struts-config.xml Configuration : FormBean,Action,Forward pages.


          4.applicationContext-service.xml Configuration: add your Service Interface and Service Implementation.


          5.Add your service factory Get method to ServiceFactory.java


          6.Build project and Generate the Description file(*.hbm.xml) of DTO.


          7.applicationContext.xml Configuration: add *.hbm.xml file to applicationContext for O/R mapping.?

          posted on 2007-03-09 01:38 金家寶 閱讀(285) 評論(0)  編輯  收藏 所屬分類: J2EE概念理論性文摘

          主站蜘蛛池模板: 哈密市| 南木林县| 吉隆县| 迁西县| 阿尔山市| 祁连县| 安阳县| 吴江市| 德安县| 博白县| 射洪县| 金沙县| 伊宁县| 庆阳市| 天水市| 景东| 赤峰市| 二连浩特市| 姜堰市| 寻乌县| 吴桥县| 平乐县| 东阳市| 叶城县| 轮台县| 新密市| 景谷| 诸城市| 长治县| 洪江市| 芷江| 澎湖县| 邵武市| 隆安县| 武清区| 凌源市| 永安市| 东至县| 红河县| 金塔县| 大关县|