1. Young man, get strong! No challenge, never progress!
2. Practice, must practice, convince yourself! Oh, come on! Positive and optimistic and happy efforts!
Must build their own website Oh! This is your first step in the moment! This is done and then the other one Oh!
Log in to register the module as a whole process:
1. The welcome page to start the Web server by default is: Login page
2. Login page is a form, collect user information submitted to the background program to deal with!
DAO Layer: Change the data and delete the search Ah! Dealing with the database!
Today's question:
What jar packages are used for the 1.jar package? Check the information yourself Oh!
2. Always understand that you are only the user of the tool! You can use the ok! when someone else does.
Frame, all is a good package of mechanism, you need to understand it!
3. Understand the business logic (data crud and so on is for the business logic service) then is the front-end data rendering problem!
4. Data source/Transaction/
If the data is water, the database is the reservoir, the data source is connected to the reservoir pipeline, the end user sees the data set is the pipeline outflow of water.
Greatly reduce the number of database connections created, improve system performance! Connection multiplexing!
Configure the data source, is actually the configuration database connection!
Http://zhidao.baidu.com/link?url= Yqk8n0auheta7g5b6i-2hqsxuk5av4k4rtiysa09tmvmt8o07dfqtwypacu8ayulqwzslv6pmzbpz5fcju2octnexyypx5vd0s87pykdzx3
Two: Configuration file
1.spring configuration file: Scan class package, bean generation, Dependency injection
Implementing a data source
Configure Transaction Manager
Transaction enhancement
2.spring MVC configuration file: Scan class package, configure View resolver!
3.web.xml configuration file
4.
Three: Understanding the project is actually the parameter transfer process!
The parameter passes from the front end to the background, processing and then passing the parameter back to the process (return value of the method)!
Parameters are intercepted from the foreground, bound into the controller method, then to the service layer, and then to the DAO layer! Finally, the arguments are passed to the SQL statement.
Can be understood as the method inside the nested method, layering is to understand the decoupling! Otherwise, it looks bloated with the words!
Four: A good understanding of JDBC Oh! nn
Five: Understand the resolution of the view!
Modelandview parameter binding to the Controller method
Understand HttpServletRequest HttpServletResponse (quite important OH)
2016-9-4