SSM framework construction graphic tutorial (recommended)
I've been thinking about building an SSM framework for a long time. It's convenient for me to use it in the future. However, there are a lot of things recently. I don't do many things. Sometimes I doubt whether I should be a programmer in my life. I'm a student who hasn't graduated. I really hit a wall everywhere when looking for a job. I feel it's hard to mix. I changed three companies in a summer vacation. In fact, I just want to find a company that can do what I want to do and learn what I want to learn, but I find it too difficult. There are almost no such companies. So when you are not very awesome, people have to adapt to the company, not the company to adapt to you. An old programmer of the first company and I must be able to eat and think about other things when we go to the company. As a post-90s, I understand my character and want to escape when I encounter problems, but escape is the worst way and can't go. I hope the newly graduated students can find a suitable job.
1、 I use idea
2、 First, create a maven project with the following structure:
3、 Start writing configuration file
POM file
db. properties
log4j. properties
UserMapper. XML configuration
Sp mybatis configuration
sp-service. xml
sp-trans. XML configuration
Spring MVC configuration
web. XML configuration
Then the basic framework has been configured, and the rest is to write java code
Controller
Service
ServiceImpl
pojo
dao
The above SSM framework building graphic tutorial (recommended) is all the content shared by Xiaobian. I hope it can give you a reference and support programming tips.