項(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概念理論性文摘