項(xiàng)目中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) 評(píng)論(0)  編輯  收藏 所屬分類: J2EE概念理論性文摘

          主站蜘蛛池模板: 清丰县| 金门县| 哈巴河县| 兰溪市| 乾安县| 泰宁县| 千阳县| 蚌埠市| 宝应县| 浦城县| 双峰县| 涟源市| 夏津县| 措勤县| 德令哈市| 泾川县| 林芝县| 廉江市| 娄底市| 平度市| 静乐县| 水城县| 石台县| 策勒县| 聂拉木县| 隆安县| 宁波市| 紫阳县| 吴川市| 鸡泽县| 永定县| 康马县| 梅河口市| 红安县| 东丽区| 湘潭市| 黔西县| 梓潼县| 金堂县| 来宾市| 定结县|