SSM integration

SSM

SSM integrated development RESTful style API interface example

Mainly integrate the following frameworks:

  • Spring
  • SpringMVC
  • MyBatis
  • Swagger2
  • log4j

screenshot

API interface

fire.png

Look at the specific content

api-get.png

code

api-get-code.png

request access

api-get-test.png

API Home

api-home.png

SSM Architecture Diagram

ssm.png

Simple explanation

1. Integrate Spring/SpringMVC/MyBatis

2. Integrate Swagger2

3. Integrate Log4j

4. Use Alibaba database connection pool: Druid

5. The development tool is: IDEA. New Module->Maven->Simple Web App

access

1. Home

http://localhost:8080

2、API

http://localhost:8080/swagger-ui.html

api-ui.png

3. Database monitoring

http://localhost:8080/druid/index.html

druid-index.png

material

I'm too tired, so I won't explain the code. It is recommended to look at the source code!

1、Github

2、RESTful API

3. MyBatis series of tutorials

4. Personal homepage

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325359443&siteId=291194637