posts - 21,  comments - 6,  trackbacks - 0

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 2006-09-20 16:14 Warren.Wu 阅读(77) 评论(0)  编辑  收藏

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


网站导航: