原创 项目中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. 

发表于 @ 2006年09月20日 00:35:00|评论(loading...)

新一篇: java线程概念案例说明 | 旧一篇: 事务(Transaction)基本概念

Csdn Blog version 3.1a
Copyright © ladofwind