项目中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 金家寶 阅读(274) 评论(0)  编辑  收藏 所属分类: J2EE概念理论性文摘


只有注册用户登录后才能发表评论。


网站导航: