Preliminary practical course of Java background interface development
The above figure shows the interface for querying the list, in get mode
The above figure shows the interface for user registration. It is also a get and post method, which is also very simple
Development tool: IntelliJ idea March 2016 five
ORM framework: mybatis
Database: MySQL
Server: tomcat7 0
The ORM framework used by the company is hibernate, which is much easier to use than mybatis. After all, it has been tested by so many projects of the company and is always more reliable than the projects written by yourself with mybatis, but the following is the code of mybatis
Registered interface method: http://192.168.1.116:8080/register?username=111&password=222
The specific registration method to obtain session is basically similar to hibernate
This mapper needs to be specified in the configuration file
This is the corresponding loginmapper xml
The above preliminary practical tutorial on Java background interface development is all that Xiaobian has shared with you. I hope it can give you a reference and support more programming tips.