7
WEB开发框架配置文件和各层注解
source link: https://blog.csdn.net/ljphhj/article/details/21524703
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
WEB开发框架配置文件和各层注解
记录一点关于这次“项目管理”课程做的轻量级企业ERP的关于框架部分的知识
我们采取的是SpringMVC + Spring + Hibernate开发的
本文主要记录: 框架需要的配置文件的配置 + Dao层写法 + Service层写法 + Controller写法
注:有一些非关乎框架的主要部分,所以博主没有列出来,所以不是直接copy就可以运行,只是参考学习哈!
spring的配置文件还有spring mvc的配置文件如下:
applicationContext.xml
dispatcher-servlet.xml
web.xml中的配置:Controller层写法
Service层写法
Dao层写法
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK